Home | History | Annotate | Download | only in 1.24.0
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <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">
      3     <modelVersion>4.0.0</modelVersion>
      4     <name>java-util</name>
      5     <groupId>com.cedarsoftware</groupId>
      6     <artifactId>java-util</artifactId>
      7     <packaging>jar</packaging>
      8     <version>1.24.0</version>
      9     <description>Java Utilities</description>
     10     <url>https://github.com/jdereg/java-util</url>
     11     <profiles>
     12         <profile>
     13             <id>doclint-java8-disable</id>
     14             <activation>
     15                 <jdk>[1.8,)</jdk>
     16             </activation>
     17             <properties>
     18                 <javadoc.opts>-Xdoclint:none</javadoc.opts>
     19             </properties>
     20         </profile>
     21 
     22         <profile>
     23             <id>release-sign-artifacts</id>
     24             <activation>
     25                 <property>
     26                     <name>performRelease</name>
     27                     <value>true</value>
     28                 </property>
     29             </activation>
     30             <build>
     31                 <plugins>
     32                     <plugin>
     33                         <groupId>org.apache.maven.plugins</groupId>
     34                         <artifactId>maven-gpg-plugin</artifactId>
     35                         <version>${version.plugin.gpg}</version>
     36                         <executions>
     37                             <execution>
     38                                 <id>sign-artifacts</id>
     39                                 <phase>verify</phase>
     40                                 <goals>
     41                                     <goal>sign</goal>
     42                                 </goals>
     43                                 <configuration>
     44                                     <keyname>${gpg.keyname}</keyname>
     45                                     <passphrase>${gpg.passphrase}</passphrase>
     46                                 </configuration>
     47                             </execution>
     48                         </executions>
     49                     </plugin>
     50                 </plugins>
     51             </build>
     52         </profile>
     53     </profiles>
     54 
     55     <licenses>
     56         <license>
     57             <name>The Apache Software License, Version 2.0</name>
     58             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
     59             <distribution>repo</distribution>
     60         </license>
     61     </licenses>
     62 
     63     <scm>
     64         <url>https://github.com/jdereg/java-util</url>
     65         <connection>scm:git:git://github.com/jdereg/java-util.git</connection>
     66         <developerConnection>scm:git:git (a] github.com:jdereg/java-util.git</developerConnection>
     67       <tag>HEAD</tag>
     68   </scm>
     69 
     70     <developers>
     71         <developer>
     72             <id>jdereg</id>
     73             <name>John DeRegnaucourt</name>
     74             <email>john (a] cedarsoftware.com</email>
     75         </developer>
     76     </developers>
     77 
     78     <properties>
     79         <version.log4j>2.5</version.log4j>
     80         <version.junit>4.12</version.junit>
     81         <version.guava>19.0</version.guava>                 <!-- testing only -->
     82         <version.json.io>4.4.0</version.json.io>            <!-- testing only -->
     83         <version.powermock>1.6.4</version.powermock>
     84         <version.mockito>1.10.19</version.mockito>
     85         <version.java>1.7</version.java>
     86         <version.plugin.compiler>3.5.1</version.plugin.compiler>
     87         <version.plugin.deploy>2.8.2</version.plugin.deploy>
     88         <version.plugin.gpg>1.6</version.plugin.gpg>
     89         <version.plugin.javadoc>2.10.3</version.plugin.javadoc>
     90         <version.plugin.nexus>1.6.6</version.plugin.nexus>
     91         <version.plugin.release>2.5.3</version.plugin.release>
     92         <version.plugin.source>3.0.0</version.plugin.source>
     93         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     94     </properties>
     95 
     96     <pluginRepositories>
     97         <pluginRepository>
     98             <id>central</id>
     99             <name>Maven Plugin Repository</name>
    100             <url>http://repo1.maven.org/maven2</url>
    101             <layout>default</layout>
    102             <snapshots>
    103                 <enabled>false</enabled>
    104             </snapshots>
    105             <releases>
    106                 <updatePolicy>never</updatePolicy>
    107             </releases>
    108         </pluginRepository>
    109     </pluginRepositories>
    110 
    111     <distributionManagement>
    112         <snapshotRepository>
    113             <id>ossrh</id>
    114             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    115         </snapshotRepository>
    116         <repository>
    117             <id>ossrh</id>
    118             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    119         </repository>
    120     </distributionManagement>
    121 
    122     <build>
    123         <plugins>
    124             <plugin>
    125                 <groupId>org.apache.maven.plugins</groupId>
    126                 <artifactId>maven-compiler-plugin</artifactId>
    127                 <version>${version.plugin.compiler}</version>
    128                 <configuration>
    129                     <source>${version.java}</source>
    130                     <target>${version.java}</target>
    131                 </configuration>
    132             </plugin>
    133 
    134             <plugin>
    135                 <groupId>org.apache.maven.plugins</groupId>
    136                 <artifactId>maven-source-plugin</artifactId>
    137                 <version>${version.plugin.source}</version>
    138                 <executions>
    139                     <execution>
    140                         <id>attach-sources</id>
    141                         <goals>
    142                             <goal>jar-no-fork</goal>
    143                         </goals>
    144                     </execution>
    145                 </executions>
    146             </plugin>
    147 
    148             <plugin>
    149                 <groupId>org.apache.maven.plugins</groupId>
    150                 <artifactId>maven-javadoc-plugin</artifactId>
    151                 <version>${version.plugin.javadoc}</version>
    152                 <configuration>
    153                     <additionalparam>${javadoc.opts}</additionalparam>
    154                 </configuration>
    155                 <executions>
    156                     <execution>
    157                         <id>attach-javadocs</id>
    158                         <goals>
    159                             <goal>jar</goal>
    160                         </goals>
    161                     </execution>
    162                 </executions>
    163             </plugin>
    164 
    165             <plugin>
    166                 <groupId>org.sonatype.plugins</groupId>
    167                 <artifactId>nexus-staging-maven-plugin</artifactId>
    168                 <version>${version.plugin.nexus}</version>
    169                 <extensions>true</extensions>
    170                 <configuration>
    171                     <serverId>ossrh</serverId>
    172                     <nexusUrl>https://oss.sonatype.org/</nexusUrl>
    173                     <autoReleaseAfterClose>true</autoReleaseAfterClose>
    174                 </configuration>
    175             </plugin>
    176 
    177         </plugins>
    178     </build>
    179 
    180     <dependencies>
    181 
    182         <dependency>
    183             <groupId>org.apache.logging.log4j</groupId>
    184             <artifactId>log4j-api</artifactId>
    185             <version>${version.log4j}</version>
    186         </dependency>
    187 
    188         <dependency>
    189             <groupId>org.apache.logging.log4j</groupId>
    190             <artifactId>log4j-core</artifactId>
    191             <version>${version.log4j}</version>
    192         </dependency>
    193 
    194         <dependency>
    195             <groupId>junit</groupId>
    196             <artifactId>junit</artifactId>
    197             <version>${version.junit}</version>
    198             <scope>test</scope>
    199         </dependency>
    200 
    201         <dependency>
    202             <groupId>com.google.guava</groupId>
    203             <artifactId>guava</artifactId>
    204             <version>${version.guava}</version>
    205             <scope>test</scope>
    206         </dependency>
    207 
    208         <dependency>
    209             <groupId>org.mockito</groupId>
    210             <artifactId>mockito-all</artifactId>
    211             <version>${version.mockito}</version>
    212             <scope>test</scope>
    213         </dependency>
    214 
    215         <dependency>
    216             <groupId>org.powermock</groupId>
    217             <artifactId>powermock-module-junit4</artifactId>
    218             <version>${version.powermock}</version>
    219             <scope>test</scope>
    220         </dependency>
    221 
    222         <dependency>
    223             <groupId>org.powermock</groupId>
    224             <artifactId>powermock-api-mockito</artifactId>
    225             <version>${version.powermock}</version>
    226             <scope>test</scope>
    227         </dependency>
    228 
    229         <dependency>
    230             <groupId>com.cedarsoftware</groupId>
    231             <artifactId>json-io</artifactId>
    232             <version>${version.json.io}</version>
    233             <scope>test</scope>
    234         </dependency>
    235 
    236     </dependencies>
    237 </project>
    238