| <?xml version="1.0" encoding="UTF-8"?> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <name>java-util</name> |
| <groupId>com.cedarsoftware</groupId> |
| <artifactId>java-util</artifactId> |
| <packaging>jar</packaging> |
| <version>1.24.0</version> |
| <description>Java Utilities</description> |
| <url>https://github.com/jdereg/java-util</url> |
| <profiles> |
| <profile> |
| <id>doclint-java8-disable</id> |
| <activation> |
| <jdk>[1.8,)</jdk> |
| </activation> |
| <properties> |
| <javadoc.opts>-Xdoclint:none</javadoc.opts> |
| </properties> |
| </profile> |
| |
| <profile> |
| <id>release-sign-artifacts</id> |
| <activation> |
| <property> |
| <name>performRelease</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>${version.plugin.gpg}</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| <configuration> |
| <keyname>${gpg.keyname}</keyname> |
| <passphrase>${gpg.passphrase}</passphrase> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <url>https://github.com/jdereg/java-util</url> |
| <connection>scm:git:git://github.com/jdereg/java-util.git</connection> |
| <developerConnection>scm:git:git@github.com:jdereg/java-util.git</developerConnection> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <developers> |
| <developer> |
| <id>jdereg</id> |
| <name>John DeRegnaucourt</name> |
| <email>john@cedarsoftware.com</email> |
| </developer> |
| </developers> |
| |
| <properties> |
| <version.log4j>2.5</version.log4j> |
| <version.junit>4.12</version.junit> |
| <version.guava>19.0</version.guava> <!-- testing only --> |
| <version.json.io>4.4.0</version.json.io> <!-- testing only --> |
| <version.powermock>1.6.4</version.powermock> |
| <version.mockito>1.10.19</version.mockito> |
| <version.java>1.7</version.java> |
| <version.plugin.compiler>3.5.1</version.plugin.compiler> |
| <version.plugin.deploy>2.8.2</version.plugin.deploy> |
| <version.plugin.gpg>1.6</version.plugin.gpg> |
| <version.plugin.javadoc>2.10.3</version.plugin.javadoc> |
| <version.plugin.nexus>1.6.6</version.plugin.nexus> |
| <version.plugin.release>2.5.3</version.plugin.release> |
| <version.plugin.source>3.0.0</version.plugin.source> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>central</id> |
| <name>Maven Plugin Repository</name> |
| <url>http://repo1.maven.org/maven2</url> |
| <layout>default</layout> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <distributionManagement> |
| <snapshotRepository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <repository> |
| <id>ossrh</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${version.plugin.compiler}</version> |
| <configuration> |
| <source>${version.java}</source> |
| <target>${version.java}</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${version.plugin.source}</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${version.plugin.javadoc}</version> |
| <configuration> |
| <additionalparam>${javadoc.opts}</additionalparam> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <version>${version.plugin.nexus}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <serverId>ossrh</serverId> |
| <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${version.log4j}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${version.log4j}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${version.junit}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${version.guava}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${version.mockito}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>${version.powermock}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>${version.powermock}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.cedarsoftware</groupId> |
| <artifactId>json-io</artifactId> |
| <version>${version.json.io}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </project> |