JAL-3130 adapted getdown src. attempt 2. first attempt failed due to cp'ed .git files
[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   <build>
51     <plugins>
52       <plugin>
53         <groupId>org.sonatype.plugins</groupId>
54         <artifactId>nexus-staging-maven-plugin</artifactId>
55         <version>1.6.8</version>
56         <extensions>true</extensions>
57         <inherited>false</inherited>
58         <configuration>
59           <serverId>ossrh-releases</serverId>
60           <nexusUrl>https://oss.sonatype.org/</nexusUrl>
61           <stagingProfileId>aa555c46fc37d0</stagingProfileId>
62         </configuration>
63       </plugin>
64     </plugins>
65
66     <!-- Common plugin configuration for all children -->
67     <pluginManagement>
68       <plugins>
69         <plugin>
70           <groupId>org.apache.maven.plugins</groupId>
71           <artifactId>maven-compiler-plugin</artifactId>
72           <version>3.7.0</version>
73           <configuration>
74             <source>1.7</source>
75             <target>1.7</target>
76             <fork>true</fork>
77             <showDeprecation>true</showDeprecation>
78             <showWarnings>true</showWarnings>
79             <compilerArgs>
80               <arg>-Xlint</arg>
81               <arg>-Xlint:-serial</arg>
82               <arg>-Xlint:-path</arg>
83             </compilerArgs>
84           </configuration>
85         </plugin>
86
87         <plugin>
88           <groupId>org.apache.maven.plugins</groupId>
89           <artifactId>maven-resources-plugin</artifactId>
90           <version>3.0.2</version>
91           <configuration>
92             <encoding>UTF-8</encoding>
93           </configuration>
94         </plugin>
95
96         <plugin>
97           <groupId>org.apache.maven.plugins</groupId>
98           <artifactId>maven-javadoc-plugin</artifactId>
99           <version>3.0.0-M1</version>
100           <configuration>
101             <quiet>true</quiet>
102             <show>public</show>
103             <additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
104           </configuration>
105         </plugin>
106       </plugins>
107     </pluginManagement>
108   </build>
109
110   <profiles>
111     <profile>
112       <id>eclipse</id>
113       <activation>
114         <property>
115           <name>m2e.version</name>
116         </property>
117       </activation>
118       <build>
119         <pluginManagement>
120           <plugins>
121             <plugin>
122               <!-- Tell m2eclipse to ignore the enforcer plugin from our parent. Otherwise it warns
123                    about not being able to run it. -->
124               <groupId>org.eclipse.m2e</groupId>
125               <artifactId>lifecycle-mapping</artifactId>
126               <version>1.0.0</version>
127               <configuration>
128                 <lifecycleMappingMetadata>
129                   <pluginExecutions>
130                     <pluginExecution>
131                       <pluginExecutionFilter>
132                         <groupId>org.apache.maven.plugins</groupId>
133                         <artifactId>maven-enforcer-plugin</artifactId>
134                         <versionRange>[1.0,)</versionRange>
135                         <goals>
136                           <goal>enforce</goal>
137                         </goals>
138                       </pluginExecutionFilter>
139                       <action>
140                         <ignore />
141                       </action>
142                     </pluginExecution>
143                   </pluginExecutions>
144                 </lifecycleMappingMetadata>
145               </configuration>
146             </plugin>
147           </plugins>
148         </pluginManagement>
149       </build>
150     </profile>
151
152     <profile>
153       <id>release-sign-artifacts</id>
154       <activation>
155         <property><name>performRelease</name><value>true</value></property>
156       </activation>
157       <build>
158         <plugins>
159           <plugin>
160             <groupId>org.apache.maven.plugins</groupId>
161             <artifactId>maven-gpg-plugin</artifactId>
162             <version>1.6</version>
163             <executions>
164               <execution>
165                 <id>sign-artifacts</id>
166                 <phase>verify</phase>
167                 <goals>
168                   <goal>sign</goal>
169                 </goals>
170               </execution>
171             </executions>
172             <configuration>
173               <keyname>mdb@samskivert.com</keyname>
174             </configuration>
175           </plugin>
176         </plugins>
177       </build>
178     </profile>
179   </profiles>
180 </project>