You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

257 line
9.1KB

  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. <parent>
  4. <groupId>org.apache.maven</groupId>
  5. <artifactId>maven-parent</artifactId>
  6. <version>34</version>
  7. <relativePath>../pom.xml</relativePath>
  8. </parent>
  9. <groupId>tmp.org.apache.maven.plugins</groupId>
  10. <artifactId>placeholder.maven-plugins</artifactId>
  11. <packaging>pom</packaging>
  12. <name>Apache Maven Plugins</name>
  13. <description>Maven Plugins</description>
  14. <url>https://maven.apache.org/plugins/</url>
  15. <ciManagement>
  16. <system>Jenkins</system>
  17. <url>https://builds.apache.org/job/maven-plugins/</url>
  18. </ciManagement>
  19. <distributionManagement>
  20. <site>
  21. <id>apache.website</id>
  22. <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/plugins-archives/</url>
  23. </site>
  24. </distributionManagement>
  25. <properties>
  26. <maven.site.path>plugins-archives/${project.artifactId}-LATEST</maven.site.path>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.apache.maven.plugin-tools</groupId>
  31. <artifactId>maven-plugin-annotations</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.maven.plugins</groupId>
  35. <artifactId>maven-plugins</artifactId>
  36. <version>34</version>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <pluginManagement>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-changes-plugin</artifactId>
  45. <configuration>
  46. <issueManagementSystems>
  47. <issueManagementSystem>JIRA</issueManagementSystem>
  48. </issueManagementSystems>
  49. <maxEntries>1000</maxEntries>
  50. <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
  51. <templateDirectory>org/apache/maven/plugins</templateDirectory>
  52. <subject>[ANN] ${project.name} ${project.version} Released</subject>
  53. <toAddresses>
  54. <toAddress implementation="java.lang.String">announce@maven.apache.org</toAddress>
  55. <toAddress implementation="java.lang.String">users@maven.apache.org</toAddress>
  56. </toAddresses>
  57. <ccAddresses>
  58. <ccAddress implementation="java.lang.String">dev@maven.apache.org</ccAddress>
  59. </ccAddresses>
  60. <fromDeveloperId>${apache.availid}</fromDeveloperId>
  61. <smtpHost>${smtp.host}</smtpHost>
  62. </configuration>
  63. <dependencies>
  64. <dependency>
  65. <groupId>org.apache.maven.shared</groupId>
  66. <artifactId>maven-shared-resources</artifactId>
  67. <version>2</version>
  68. </dependency>
  69. </dependencies>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-javadoc-plugin</artifactId>
  74. <configuration>
  75. <tagletArtifacts>
  76. <tagletArtifact combine.id="org.apache.maven.plugin-tools:maven-plugin-tools-javadoc">
  77. <groupId>org.apache.maven.plugin-tools</groupId>
  78. <artifactId>maven-plugin-tools-javadoc</artifactId>
  79. <version>${mavenPluginToolsVersion}</version>
  80. </tagletArtifact>
  81. </tagletArtifacts>
  82. </configuration>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-release-plugin</artifactId>
  87. <configuration>
  88. <tagBase>https://svn.apache.org/repos/asf/maven/plugins/tags</tagBase>
  89. <releaseProfiles>apache-release,run-its</releaseProfiles>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-plugin-plugin</artifactId>
  95. <version>${mavenPluginToolsVersion}</version>
  96. <executions>
  97. <execution>
  98. <id>default-descriptor</id>
  99. <phase>process-classes</phase>
  100. </execution>
  101. <execution>
  102. <id>generate-helpmojo</id>
  103. <goals>
  104. <goal>helpmojo</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-site-plugin</artifactId>
  112. <configuration>
  113. <skipDeploy>true</skipDeploy>
  114. </configuration>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-scm-publish-plugin</artifactId>
  119. <configuration>
  120. <content>${project.reporting.outputDirectory}</content>
  121. </configuration>
  122. <executions>
  123. <execution>
  124. <id>scm-publish</id>
  125. <phase>site-deploy</phase>
  126. <goals>
  127. <goal>publish-scm</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. </plugins>
  133. </pluginManagement>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-plugin-plugin</artifactId>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-enforcer-plugin</artifactId>
  142. <executions>
  143. <execution>
  144. <goals>
  145. <goal>enforce</goal>
  146. </goals>
  147. <id>ensure-no-container-api</id>
  148. <configuration>
  149. <rules>
  150. <bannedDependencies>
  151. <excludes>
  152. <exclude>org.codehaus.plexus:plexus-component-api</exclude>
  153. </excludes>
  154. <message>The new containers are not supported. You probably added a dependency that is missing the exclusions.</message>
  155. </bannedDependencies>
  156. </rules>
  157. <fail>true</fail>
  158. </configuration>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. <reporting>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-plugin-plugin</artifactId>
  169. <version>${mavenPluginToolsVersion}</version>
  170. </plugin>
  171. </plugins>
  172. </reporting>
  173. <profiles>
  174. <profile>
  175. <id>quality-checks</id>
  176. <activation>
  177. <property>
  178. <name>quality-checks</name>
  179. <value>true</value>
  180. </property>
  181. </activation>
  182. <build>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-docck-plugin</artifactId>
  187. <executions>
  188. <execution>
  189. <id>docck-check</id>
  190. <phase>verify</phase>
  191. <goals>
  192. <goal>check</goal>
  193. </goals>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </profile>
  200. <profile>
  201. <id>run-its</id>
  202. <properties>
  203. <invoker.maven.compiler.source>${maven.compiler.source}</invoker.maven.compiler.source>
  204. <invoker.maven.compiler.target>${maven.compiler.target}</invoker.maven.compiler.target>
  205. <maven.it.failure.ignore>false</maven.it.failure.ignore>
  206. </properties>
  207. <build>
  208. <plugins>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-invoker-plugin</artifactId>
  212. <configuration>
  213. <debug>true</debug>
  214. <projectsDirectory>src/it</projectsDirectory>
  215. <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
  216. <preBuildHookScript>setup</preBuildHookScript>
  217. <postBuildHookScript>verify</postBuildHookScript>
  218. <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
  219. <settingsFile>src/it/settings.xml</settingsFile>
  220. <pomIncludes>
  221. <pomInclude>*/pom.xml</pomInclude>
  222. </pomIncludes>
  223. <properties>
  224. <maven.compiler.source>${invoker.maven.compiler.source}</maven.compiler.source>
  225. <maven.compiler.target>${invoker.maven.compiler.target}</maven.compiler.target>
  226. <https.protocols>${https.protocols}</https.protocols>
  227. </properties>
  228. <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures>
  229. </configuration>
  230. <executions>
  231. <execution>
  232. <id>integration-test</id>
  233. <goals>
  234. <goal>install</goal>
  235. <goal>integration-test</goal>
  236. <goal>verify</goal>
  237. </goals>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. </plugins>
  242. </build>
  243. </profile>
  244. <profile>
  245. <id>reporting</id>
  246. <reporting>
  247. <plugins>
  248. <plugin>
  249. <groupId>org.apache.maven.plugins</groupId>
  250. <artifactId>maven-invoker-plugin</artifactId>
  251. </plugin>
  252. </plugins>
  253. </reporting>
  254. </profile>
  255. </profiles>
  256. <version>34</version>
  257. </project>