[maven-release-plugin] prepare release AMDJ-1.0.0
[AMDJ.git] / pom.xml
blob5574d221460cca91e522006a8efd2c6b6209a6be
1 <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">
2   <modelVersion>4.0.0</modelVersion>
3   <groupId>com.github.rwl</groupId>
4   <artifactId>AMDJ</artifactId>
5   <version>1.0.0</version>
7   <licenses>
8     <license>
9       <name>Gnu LGPL</name>
10       <url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
11       <distribution>repo</distribution>
12     </license>
13   </licenses>
15   <scm>
16     <url>git@github.com:rwl/AMDJ.git</url>
17     <connection>scm:git:git@github.com:rwl/AMDJ.git</connection>
18     <developerConnection>scm:git:git@github.com:rwl/AMDJ.git</developerConnection>
19     <tag>AMDJ-1.0.0</tag>
20   </scm>
22   <developers>
23     <developer>
24       <id>rwl</id>
25       <name>Richard Lincoln</name>
26       <email>r.w.lincoln@gmail.com</email>
27     </developer>
28   </developers>
30   <distributionManagement>
31     <repository>
32       <id>sonatype-nexus-staging</id>
33       <name>Sonatype OSS Staging Repository</name>
34       <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
35     </repository>
36     <snapshotRepository>
37       <id>sonatype-nexus-snapshots</id>
38       <name>Sonatype OSS Snapshot Repository</name>
39       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
40     </snapshotRepository>
41   </distributionManagement>
43   <properties>
44     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45   </properties>
47   <dependencies>
48         <dependency>
49                 <groupId>junit</groupId>
50                 <artifactId>junit</artifactId>
51                 <version>3.8.2</version>
52                 <scope>test</scope>
53         </dependency>
54   </dependencies>
56   <build>
57     <plugins>
58        <plugin>
59          <!-- required for static imports -->
60          <groupId>org.apache.maven.plugins</groupId>
61          <artifactId>maven-compiler-plugin</artifactId>
62          <configuration>
63            <source>1.5</source>
64            <target>1.5</target>
65          </configuration>
66       </plugin>
68       <plugin>
69         <groupId>org.apache.maven.plugins</groupId>
70         <artifactId>maven-surefire-plugin</artifactId>
71         <configuration>
72           <includes>
73             <include>**/test/Damd_*.java</include>
74           </includes>
75         </configuration>
76       </plugin>
78       <plugin>
79         <groupId>org.apache.maven.plugins</groupId>
80         <artifactId>maven-release-plugin</artifactId>
81         <version>2.3</version>
82         <configuration>
83           <!-- need this for gpg plugin to work correctly -->
84           <mavenExecutorId>forked-path</mavenExecutorId>
85         </configuration>
86       </plugin>
87     </plugins>
88   </build>
90   <profiles>
91     <profile>
92       <id>release-sign-artifacts</id>
93       <activation>
94         <property>
95           <name>performRelease</name>
96           <value>true</value>
97         </property>
98       </activation>
99       <build>
100         <plugins>
101           <plugin>
102             <groupId>org.apache.maven.plugins</groupId>
103             <artifactId>maven-gpg-plugin</artifactId>
104             <version>1.4</version>
105             <executions>
106               <execution>
107                 <id>sign-artifacts</id>
108                 <phase>verify</phase>
109                 <goals>
110                   <goal>sign</goal>
111                 </goals>
112               </execution>
113             </executions>
114           </plugin>
115         </plugins>
116       </build>
117     </profile>
118   </profiles>
120 </project>