66ebf0fc9b0663b6b02368adecad067c16cbc94e
[jalview.git] / getdown / src / getdown / pom.xml
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/maven-v4_0_0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.sonatype.oss</groupId>
6     <artifactId>oss-parent</artifactId>
7     <version>7</version>
8   </parent>
9
10   <groupId>com.threerings.getdown</groupId>
11   <artifactId>getdown</artifactId>
12   <packaging>pom</packaging>
13   <version>1.8.3-SNAPSHOT</version>
14
15   <name>getdown</name>
16   <description>An application installer and updater.</description>
17   <url>https://github.com/threerings/getdown</url>
18   <issueManagement>
19     <url>https://github.com/threerings/getdown/issues</url>
20   </issueManagement>
21
22   <licenses>
23     <license>
24       <name>The (New) BSD License</name>
25       <url>http://www.opensource.org/licenses/bsd-license.php</url>
26       <distribution>repo</distribution>
27     </license>
28   </licenses>
29
30   <developers>
31     <developer>
32       <id>samskivert</id>
33       <name>Michael Bayne</name>
34       <email>mdb@samskivert.com</email>
35     </developer>
36   </developers>
37
38   <scm>
39     <connection>scm:git:git://github.com/threerings/getdown.git</connection>
40     <developerConnection>scm:git:git@github.com:threerings/getdown.git</developerConnection>
41     <url>https://github.com/threerings/getdown</url>
42   </scm>
43
44   <modules>
45     <module>core</module>
46     <module>launcher</module>
47     <module>ant</module>
48   </modules>
49
50
51   <dependencies>
52     <dependency>
53       <groupId>org.apache.commons</groupId>
54       <artifactId>commons-compress</artifactId>
55       <version>1.18</version>
56     </dependency>
57   </dependencies>
58
59   <build>
60     <plugins>
61       <plugin>
62         <groupId>org.sonatype.plugins</groupId>
63         <artifactId>nexus-staging-maven-plugin</artifactId>
64         <version>1.6.8</version>
65         <extensions>true</extensions>
66         <inherited>false</inherited>
67         <configuration>
68           <serverId>ossrh-releases</serverId>
69           <nexusUrl>https://oss.sonatype.org/</nexusUrl>
70           <stagingProfileId>aa555c46fc37d0</stagingProfileId>
71         </configuration>
72       </plugin>
73     </plugins>
74
75     <!-- Common plugin configuration for all children -->
76     <pluginManagement>
77       <plugins>
78         <plugin>
79           <groupId>org.apache.maven.plugins</groupId>
80           <artifactId>maven-compiler-plugin</artifactId>
81           <version>3.7.0</version>
82           <configuration>
83             <source>1.7</source>
84             <target>1.7</target>
85             <fork>true</fork>
86             <showDeprecation>true</showDeprecation>
87             <showWarnings>true</showWarnings>
88             <compilerArgs>
89               <arg>-Xlint</arg>
90               <arg>-Xlint:-serial</arg>
91               <arg>-Xlint:-path</arg>
92             </compilerArgs>
93           </configuration>
94         </plugin>
95
96         <plugin>
97           <groupId>org.apache.maven.plugins</groupId>
98           <artifactId>maven-resources-plugin</artifactId>
99           <version>3.0.2</version>
100           <configuration>
101             <encoding>UTF-8</encoding>
102           </configuration>
103         </plugin>
104
105         <plugin>
106           <groupId>org.apache.maven.plugins</groupId>
107           <artifactId>maven-javadoc-plugin</artifactId>
108           <version>3.0.0-M1</version>
109           <configuration>
110             <quiet>true</quiet>
111             <show>public</show>
112             <additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
113           </configuration>
114         </plugin>
115       </plugins>
116     </pluginManagement>
117   </build>
118
119   <profiles>
120     <profile>
121       <id>eclipse</id>
122       <activation>
123         <property>
124           <name>m2e.version</name>
125         </property>
126       </activation>
127       <build>
128         <pluginManagement>
129           <plugins>
130             <plugin>
131               <!-- Tell m2eclipse to ignore the enforcer plugin from our parent. Otherwise it warns
132                    about not being able to run it. -->
133               <groupId>org.eclipse.m2e</groupId>
134               <artifactId>lifecycle-mapping</artifactId>
135               <version>1.0.0</version>
136               <configuration>
137                 <lifecycleMappingMetadata>
138                   <pluginExecutions>
139                     <pluginExecution>
140                       <pluginExecutionFilter>
141                         <groupId>org.apache.maven.plugins</groupId>
142                         <artifactId>maven-enforcer-plugin</artifactId>
143                         <versionRange>[1.0,)</versionRange>
144                         <goals>
145                           <goal>enforce</goal>
146                         </goals>
147                       </pluginExecutionFilter>
148                       <action>
149                         <ignore />
150                       </action>
151                     </pluginExecution>
152                   </pluginExecutions>
153                 </lifecycleMappingMetadata>
154               </configuration>
155             </plugin>
156           </plugins>
157         </pluginManagement>
158       </build>
159     </profile>
160
161     <profile>
162       <id>release-sign-artifacts</id>
163       <activation>
164         <property><name>performRelease</name><value>true</value></property>
165       </activation>
166       <build>
167         <plugins>
168           <plugin>
169             <groupId>org.apache.maven.plugins</groupId>
170             <artifactId>maven-gpg-plugin</artifactId>
171             <version>1.6</version>
172             <executions>
173               <execution>
174                 <id>sign-artifacts</id>
175                 <phase>verify</phase>
176                 <goals>
177                   <goal>sign</goal>
178                 </goals>
179               </execution>
180             </executions>
181             <configuration>
182               <keyname>mdb@samskivert.com</keyname>
183             </configuration>
184           </plugin>
185         </plugins>
186       </build>
187     </profile>
188   </profiles>
189 </project>