JAL-3210 Almost working goomph build
[jalview.git] / gradle / m2 / repository / org / apache / maven / plugins / maven-plugins / 23 / maven-plugins-23.pom
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements.  See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership.  The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License.  You may obtain a copy of the License at
10
11   http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied.  See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20 <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">
21   <modelVersion>4.0.0</modelVersion>
22
23   <parent>
24     <groupId>org.apache.maven</groupId>
25     <artifactId>maven-parent</artifactId>
26     <version>22</version>
27     <relativePath>../../pom/maven/pom.xml</relativePath>
28   </parent>
29
30   <groupId>org.apache.maven.plugins</groupId>
31   <artifactId>maven-plugins</artifactId>
32   <version>23</version>
33   <packaging>pom</packaging>
34
35   <name>Maven Plugins</name>
36   <description>Maven Plugins</description>
37   <url>http://maven.apache.org/plugins/</url>
38
39   <scm>
40     <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-plugins-23</connection>
41     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-plugins-23</developerConnection>
42     <url>http://svn.apache.org/viewvc/maven/plugins/tags/maven-plugins-23</url>
43   </scm>
44   <ciManagement>
45     <system>Jenkins</system>
46     <url>https://builds.apache.org/hudson/job/maven-plugins/</url>
47   </ciManagement>
48
49   <distributionManagement>
50     <site>
51       <id>apache.website</id>
52       <url>scp://people.apache.org/www/maven.apache.org/plugins/</url>
53     </site>
54   </distributionManagement>
55
56   <repositories>
57     <repository>
58       <id>apache.snapshots</id>
59       <name>Apache Snapshot Repository</name>
60       <url>http://repository.apache.org/snapshots</url>
61       <releases>
62         <enabled>false</enabled>
63       </releases>
64     </repository>
65   </repositories>
66
67   <build>
68     <pluginManagement>
69       <plugins>
70         <plugin>
71           <groupId>org.apache.maven.plugins</groupId>
72           <artifactId>maven-changes-plugin</artifactId>
73           <version>2.7.1</version>
74           <configuration>
75             <issueManagementSystems>
76               <issueManagementSystem>JIRA</issueManagementSystem>
77             </issueManagementSystems>
78             <maxEntries>1000</maxEntries>
79             <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
80             <!-- Used by announcement-generate goal -->
81             <templateDirectory>org/apache/maven/plugins</templateDirectory>
82             <!-- Used by announcement-mail goal -->
83             <subject>[ANN] ${project.name} ${project.version} Released</subject>
84             <toAddresses>
85               <toAddress implementation="java.lang.String">announce@maven.apache.org</toAddress>
86               <toAddress implementation="java.lang.String">users@maven.apache.org</toAddress>
87             </toAddresses>
88             <ccAddresses>
89               <ccAddress implementation="java.lang.String">dev@maven.apache.org</ccAddress>
90             </ccAddresses>
91             <!-- These values need to be specified as properties in the profile apache-release in your settings.xml -->
92             <fromDeveloperId>${apache.availid}</fromDeveloperId>
93             <smtpHost>${smtp.host}</smtpHost>
94           </configuration>
95           <dependencies>
96             <!-- Used by announcement-generate goal -->
97             <dependency>
98               <groupId>org.apache.maven.shared</groupId>
99               <artifactId>maven-shared-resources</artifactId>
100               <version>1</version>
101             </dependency>
102           </dependencies>
103         </plugin>
104         <plugin>
105           <artifactId>maven-release-plugin</artifactId>
106           <configuration>
107             <tagBase>https://svn.apache.org/repos/asf/maven/plugins/tags</tagBase>
108           </configuration>
109         </plugin>
110         <plugin>
111           <artifactId>maven-site-plugin</artifactId>
112           <configuration>
113             <stagingSiteURL>scp://people.apache.org/www/maven.apache.org/plugins/${project.artifactId}-${project.version}</stagingSiteURL>
114           </configuration>
115         </plugin>
116       </plugins>
117     </pluginManagement>
118     <plugins>
119       <plugin>
120         <artifactId>maven-enforcer-plugin</artifactId>
121         <executions>
122           <execution>
123             <goals>
124               <goal>enforce</goal>
125             </goals>
126             <id>ensure-no-container-api</id>
127             <configuration>
128               <rules>
129                 <bannedDependencies>
130                   <excludes>
131                     <exclude>org.codehaus.plexus:plexus-component-api</exclude>
132                   </excludes>
133                   <message>The new containers are not supported. You probably added a dependency that is missing the exclusions.</message>
134                 </bannedDependencies>
135               </rules>
136               <fail>true</fail>
137             </configuration>
138           </execution>
139         </executions>
140       </plugin>
141       <plugin>
142         <groupId>org.apache.maven.plugins</groupId>
143         <artifactId>maven-plugin-plugin</artifactId>
144         <executions>
145           <execution>
146             <id>generated-helpmojo</id>
147             <goals>
148               <goal>helpmojo</goal>
149             </goals>
150           </execution>
151         </executions>
152       </plugin>
153     </plugins>
154   </build>
155
156   <reporting>
157     <plugins>
158       <plugin>
159         <groupId>org.apache.maven.plugins</groupId>
160         <artifactId>maven-plugin-plugin</artifactId>
161         <version>3.1</version>
162       </plugin>
163     </plugins>
164   </reporting>
165
166   <profiles>
167     <profile>
168       <id>quality-checks</id>
169       <activation>
170         <property>
171           <name>quality-checks</name>
172           <value>true</value>
173         </property>
174       </activation>
175       <build>
176         <plugins>
177           <plugin>
178             <groupId>org.apache.maven.plugins</groupId>
179             <artifactId>maven-docck-plugin</artifactId>
180             <executions>
181               <execution>
182                 <id>docck-check</id>
183                 <phase>verify</phase>
184                 <goals>
185                   <goal>check</goal>
186                 </goals>
187               </execution>
188             </executions>
189           </plugin>
190         </plugins>
191       </build>
192     </profile>
193     <profile>
194       <id>run-its</id>
195       <build>
196         <plugins>
197           <plugin>
198             <groupId>org.apache.maven.plugins</groupId>
199             <artifactId>maven-invoker-plugin</artifactId>
200             <configuration>
201               <debug>true</debug>
202               <projectsDirectory>src/it</projectsDirectory>
203               <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
204               <preBuildHookScript>setup</preBuildHookScript>
205               <postBuildHookScript>verify</postBuildHookScript>
206               <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
207               <settingsFile>src/it/settings.xml</settingsFile>
208               <pomIncludes>
209                 <pomInclude>*/pom.xml</pomInclude>
210               </pomIncludes>
211             </configuration>
212             <executions>
213               <execution>
214                 <id>integration-test</id>
215                 <goals>
216                   <goal>install</goal>
217                   <goal>integration-test</goal>
218                   <goal>verify</goal>
219                 </goals>
220               </execution>
221             </executions>
222           </plugin>
223         </plugins>
224       </build>
225     </profile>
226     <profile>
227       <id>reporting</id>
228       <reporting>
229         <plugins>
230           <plugin>
231             <groupId>org.apache.maven.plugins</groupId>
232             <artifactId>maven-invoker-plugin</artifactId>
233             <version>1.6</version>
234           </plugin>
235         </plugins>
236       </reporting>
237     </profile>
238     <profile>
239       <id>maven-3</id>
240       <activation>
241         <file>
242           <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
243           <exists>${basedir}</exists>
244         </file>
245       </activation>
246       <build>
247         <plugins>
248           <!-- if releasing current pom with Maven 3, site descriptor must be attached -->
249           <plugin>
250             <groupId>org.apache.maven.plugins</groupId>
251             <artifactId>maven-site-plugin</artifactId>
252             <inherited>false</inherited>
253             <executions>
254               <execution>
255                 <id>attach-descriptor</id>
256                 <goals>
257                   <goal>attach-descriptor</goal>
258                 </goals>
259               </execution>
260             </executions>
261           </plugin>
262         </plugins>        
263       </build>   
264     </profile>  
265   </profiles>
266 </project>