jvnet-parent-5.pom 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2007-2014 Sonatype, Inc. All rights reserved.
  4. ~
  5. ~ This program is licensed to you under the Apache License Version 2.0,
  6. ~ and you may not use this file except in compliance with the Apache License Version 2.0.
  7. ~ You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
  8. ~
  9. ~ Unless required by applicable law or agreed to in writing,
  10. ~ software distributed under the Apache License Version 2.0 is distributed on an
  11. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. ~ See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  13. -->
  14. <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">
  15. <modelVersion>4.0.0</modelVersion>
  16. <groupId>net.java</groupId>
  17. <artifactId>jvnet-parent</artifactId>
  18. <version>5</version>
  19. <packaging>pom</packaging>
  20. <name>Java.net Parent</name>
  21. <url>http://java.net/</url>
  22. <description>Java.net - The Source for Java Technology Collaboration</description>
  23. <scm>
  24. <connection>scm:git:git@github.com:sonatype/jvnet-parent.git</connection>
  25. <developerConnection>scm:git:git@github.com:sonatype/jvnet-parent.git</developerConnection>
  26. <url>https://github.com/sonatype/jvnet-parent</url>
  27. </scm>
  28. <distributionManagement>
  29. <snapshotRepository>
  30. <id>jvnet-nexus-snapshots</id>
  31. <name>Java.net Nexus Snapshots Repository</name>
  32. <url>${jvnetDistMgmtSnapshotsUrl}</url>
  33. </snapshotRepository>
  34. <repository>
  35. <id>jvnet-nexus-staging</id>
  36. <name>Java.net Nexus Staging Repository</name>
  37. <url>https://maven.java.net/service/local/staging/deploy/maven2/</url>
  38. </repository>
  39. </distributionManagement>
  40. <!--
  41. Configure jvnet-nexus-releases repository by default.
  42. -->
  43. <repositories>
  44. <repository>
  45. <id>jvnet-nexus-releases</id>
  46. <name>Java.net Releases Repositories</name>
  47. <url>https://maven.java.net/content/repositories/releases/</url>
  48. <releases>
  49. <enabled>true</enabled>
  50. </releases>
  51. <snapshots>
  52. <enabled>false</enabled>
  53. </snapshots>
  54. </repository>
  55. </repositories>
  56. <pluginRepositories>
  57. <pluginRepository>
  58. <id>jvnet-nexus-releases</id>
  59. <name>Java.net Releases Repositories</name>
  60. <url>https://maven.java.net/content/repositories/releases/</url>
  61. <releases>
  62. <enabled>true</enabled>
  63. </releases>
  64. <snapshots>
  65. <enabled>false</enabled>
  66. </snapshots>
  67. </pluginRepository>
  68. </pluginRepositories>
  69. <build>
  70. <pluginManagement>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-release-plugin</artifactId>
  75. <configuration>
  76. <mavenExecutorId>forked-path</mavenExecutorId>
  77. <useReleaseProfile>false</useReleaseProfile>
  78. <arguments>-Pjvnet-release ${release.arguments}</arguments>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. </pluginManagement>
  83. </build>
  84. <properties>
  85. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  86. <jvnetDistMgmtSnapshotsUrl>https://maven.java.net/content/repositories/snapshots/</jvnetDistMgmtSnapshotsUrl>
  87. <!--
  88. intialize release.arguments to empty, otherwise if not defined
  89. it can fail the release plugin
  90. -->
  91. <release.arguments></release.arguments>
  92. </properties>
  93. <profiles>
  94. <profile>
  95. <id>jvnet-release</id>
  96. <build>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-source-plugin</artifactId>
  101. <version>2.1</version>
  102. <executions>
  103. <execution>
  104. <id>attach-sources</id>
  105. <goals>
  106. <goal>jar-no-fork</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-javadoc-plugin</artifactId>
  114. <version>2.8</version>
  115. <executions>
  116. <execution>
  117. <id>attach-javadocs</id>
  118. <goals>
  119. <goal>jar</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-enforcer-plugin</artifactId>
  127. <version>1.0-beta-1</version>
  128. <executions>
  129. <execution>
  130. <id>enforce-maven</id>
  131. <goals>
  132. <goal>enforce</goal>
  133. </goals>
  134. <configuration>
  135. <rules>
  136. <requireMavenVersion>
  137. <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
  138. <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures
  139. and checksums respectively.</message>
  140. </requireMavenVersion>
  141. </rules>
  142. </configuration>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-gpg-plugin</artifactId>
  149. <version>1.1</version>
  150. <executions>
  151. <execution>
  152. <id>sign-artifacts</id>
  153. <phase>verify</phase>
  154. <goals>
  155. <goal>sign</goal>
  156. </goals>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. </profile>
  163. <profile>
  164. <id>snapshots</id>
  165. <repositories>
  166. <repository>
  167. <id>jvnet-nexus-snapshots</id>
  168. <name>Java.net Nexus Snapshots Repository</name>
  169. <url>https://maven.java.net/content/repositories/snapshots</url>
  170. <releases>
  171. <enabled>false</enabled>
  172. </releases>
  173. <snapshots>
  174. <enabled>true</enabled>
  175. </snapshots>
  176. </repository>
  177. </repositories>
  178. <pluginRepositories>
  179. <pluginRepository>
  180. <id>jvnet-nexus-snapshots</id>
  181. <name>Java.net Nexus Snapshots Repository</name>
  182. <url>https://maven.java.net/content/repositories/snapshots</url>
  183. <releases>
  184. <enabled>false</enabled>
  185. </releases>
  186. <snapshots>
  187. <enabled>true</enabled>
  188. </snapshots>
  189. </pluginRepository>
  190. </pluginRepositories>
  191. </profile>
  192. <profile>
  193. <id>staging</id>
  194. <activation>
  195. <activeByDefault>false</activeByDefault>
  196. </activation>
  197. <repositories>
  198. <repository>
  199. <id>jvnet-nexus-staging</id>
  200. <name>Java.net Staging Repositoriy</name>
  201. <url>https://maven.java.net/content/repositories/staging/</url>
  202. <releases>
  203. <enabled>true</enabled>
  204. </releases>
  205. <snapshots>
  206. <enabled>false</enabled>
  207. </snapshots>
  208. </repository>
  209. </repositories>
  210. <pluginRepositories>
  211. <pluginRepository>
  212. <id>jvnet-nexus-staging</id>
  213. <name>Java.net Staging Repositoriy</name>
  214. <url>https://maven.java.net/content/repositories/staging/</url>
  215. <releases>
  216. <enabled>true</enabled>
  217. </releases>
  218. <snapshots>
  219. <enabled>false</enabled>
  220. </snapshots>
  221. </pluginRepository>
  222. </pluginRepositories>
  223. </profile>
  224. <profile>
  225. <id>promoted</id>
  226. <activation>
  227. <activeByDefault>false</activeByDefault>
  228. </activation>
  229. <repositories>
  230. <repository>
  231. <id>jvnet-nexus-promoted</id>
  232. <name>Java.net Promoted Repositories</name>
  233. <url>https://maven.java.net/content/repositories/promoted/</url>
  234. <releases>
  235. <enabled>true</enabled>
  236. </releases>
  237. <snapshots>
  238. <enabled>false</enabled>
  239. </snapshots>
  240. </repository>
  241. </repositories>
  242. <pluginRepositories>
  243. <pluginRepository>
  244. <id>jvnet-nexus-promoted</id>
  245. <name>Java.net Promoted Repositories</name>
  246. <url>https://maven.java.net/content/repositories/promoted/</url>
  247. <releases>
  248. <enabled>true</enabled>
  249. </releases>
  250. <snapshots>
  251. <enabled>false</enabled>
  252. </snapshots>
  253. </pluginRepository>
  254. </pluginRepositories>
  255. </profile>
  256. </profiles>
  257. </project>