jvnet-parent-3.pom 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2007-2011 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>3</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. <repositories>
  29. <repository>
  30. <id>jvnet-nexus-snapshots</id>
  31. <name>Java.net Nexus Snapshots Repository</name>
  32. <url>https://maven.java.net/content/repositories/snapshots</url>
  33. <releases>
  34. <enabled>false</enabled>
  35. <updatePolicy>never</updatePolicy>
  36. </releases>
  37. <snapshots>
  38. <enabled>true</enabled>
  39. <updatePolicy>never</updatePolicy>
  40. </snapshots>
  41. </repository>
  42. </repositories>
  43. <distributionManagement>
  44. <snapshotRepository>
  45. <id>jvnet-nexus-snapshots</id>
  46. <name>Java.net Nexus Snapshots Repository</name>
  47. <url>${jvnetDistMgmtSnapshotsUrl}</url>
  48. </snapshotRepository>
  49. <repository>
  50. <id>jvnet-nexus-staging</id>
  51. <name>Java.net Nexus Staging Repository</name>
  52. <url>https://maven.java.net/service/local/staging/deploy/maven2/</url>
  53. </repository>
  54. </distributionManagement>
  55. <build>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-enforcer-plugin</artifactId>
  60. <version>1.0</version>
  61. <executions>
  62. <execution>
  63. <id>enforce-maven</id>
  64. <goals>
  65. <goal>enforce</goal>
  66. </goals>
  67. <configuration>
  68. <rules>
  69. <requireMavenVersion>
  70. <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
  71. <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures
  72. and checksums respectively.</message>
  73. </requireMavenVersion>
  74. </rules>
  75. </configuration>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. </plugins>
  80. <pluginManagement>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-release-plugin</artifactId>
  85. <version>2.1</version>
  86. <configuration>
  87. <mavenExecutorId>forked-path</mavenExecutorId>
  88. <useReleaseProfile>false</useReleaseProfile>
  89. <arguments>-Pjvnet-release</arguments>
  90. </configuration>
  91. </plugin>
  92. </plugins>
  93. </pluginManagement>
  94. </build>
  95. <properties>
  96. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  97. <jvnetDistMgmtSnapshotsUrl>https://maven.java.net/content/repositories/snapshots/</jvnetDistMgmtSnapshotsUrl>
  98. </properties>
  99. <profiles>
  100. <profile>
  101. <id>jvnet-release</id>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-source-plugin</artifactId>
  107. <version>2.1.2</version>
  108. <executions>
  109. <execution>
  110. <id>attach-sources</id>
  111. <goals>
  112. <goal>jar-no-fork</goal>
  113. </goals>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-javadoc-plugin</artifactId>
  120. <version>2.7</version>
  121. <executions>
  122. <execution>
  123. <id>attach-javadocs</id>
  124. <goals>
  125. <goal>jar</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-gpg-plugin</artifactId>
  133. <version>1.1</version>
  134. <executions>
  135. <execution>
  136. <id>sign-artifacts</id>
  137. <phase>verify</phase>
  138. <goals>
  139. <goal>sign</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </profile>
  147. </profiles>
  148. </project>