Siva Velusamy | e1c69b7 | 2014-04-08 17:50:22 -0700 | [diff] [blame^] | 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>23</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>24</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-24</connection> |
| 41 | <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-plugins-24</developerConnection> |
| 42 | <url>http://svn.apache.org/viewvc/maven/plugins/tags/maven-plugins-24</url> |
| 43 | </scm> |
| 44 | <ciManagement> |
| 45 | <system>Jenkins</system> |
| 46 | <url>https://builds.apache.org/job/maven-plugins/</url> |
| 47 | </ciManagement> |
| 48 | |
| 49 | <distributionManagement> |
| 50 | <site> |
| 51 | <id>apache.website</id> |
| 52 | <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/plugins</url> |
| 53 | </site> |
| 54 | </distributionManagement> |
| 55 | |
| 56 | <properties> |
| 57 | <maven.site.cache>${user.home}/maven-sites</maven.site.cache><!-- TODO remove when upgrading parent to 23 --> |
| 58 | <maven.site.path>plugins-archives/${project.artifactId}-${project.version}</maven.site.path> |
| 59 | </properties> |
| 60 | |
| 61 | <repositories> |
| 62 | <repository> |
| 63 | <id>apache.snapshots</id> |
| 64 | <name>Apache Snapshot Repository</name> |
| 65 | <url>http://repository.apache.org/snapshots</url> |
| 66 | <releases> |
| 67 | <enabled>false</enabled> |
| 68 | </releases> |
| 69 | </repository> |
| 70 | </repositories> |
| 71 | |
| 72 | <build> |
| 73 | <pluginManagement> |
| 74 | <plugins> |
| 75 | <plugin> |
| 76 | <groupId>org.apache.maven.plugins</groupId> |
| 77 | <artifactId>maven-changes-plugin</artifactId> |
| 78 | <version>2.7.1</version> |
| 79 | <configuration> |
| 80 | <issueManagementSystems> |
| 81 | <issueManagementSystem>JIRA</issueManagementSystem> |
| 82 | </issueManagementSystems> |
| 83 | <maxEntries>1000</maxEntries> |
| 84 | <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| 85 | <!-- Used by announcement-generate goal --> |
| 86 | <templateDirectory>org/apache/maven/plugins</templateDirectory> |
| 87 | <announcementFile>annoucement.txt</announcementFile> |
| 88 | <!-- Used by announcement-mail goal --> |
| 89 | <subject>[ANN] ${project.name} ${project.version} Released</subject> |
| 90 | <toAddresses> |
| 91 | <toAddress implementation="java.lang.String">announce@maven.apache.org</toAddress> |
| 92 | <toAddress implementation="java.lang.String">users@maven.apache.org</toAddress> |
| 93 | </toAddresses> |
| 94 | <ccAddresses> |
| 95 | <ccAddress implementation="java.lang.String">dev@maven.apache.org</ccAddress> |
| 96 | </ccAddresses> |
| 97 | <!-- These values need to be specified as properties in the profile apache-release in your settings.xml --> |
| 98 | <fromDeveloperId>${apache.availid}</fromDeveloperId> |
| 99 | <smtpHost>${smtp.host}</smtpHost> |
| 100 | </configuration> |
| 101 | <dependencies> |
| 102 | <!-- Used by announcement-generate goal --> |
| 103 | <dependency> |
| 104 | <groupId>org.apache.maven.shared</groupId> |
| 105 | <artifactId>maven-shared-resources</artifactId> |
| 106 | <version>1</version> |
| 107 | </dependency> |
| 108 | </dependencies> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <artifactId>maven-release-plugin</artifactId> |
| 112 | <configuration> |
| 113 | <tagBase>https://svn.apache.org/repos/asf/maven/plugins/tags</tagBase> |
| 114 | </configuration> |
| 115 | </plugin> |
| 116 | <plugin> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-site-plugin</artifactId> |
| 119 | <version>3.2</version><!-- TODO remove when upgrading parent to 23 --> |
| 120 | <configuration> |
| 121 | <skipDeploy>true</skipDeploy><!-- don't deploy site with maven-site-plugin --> |
| 122 | </configuration> |
| 123 | </plugin> |
| 124 | </plugins> |
| 125 | </pluginManagement> |
| 126 | <plugins> |
| 127 | <plugin> |
| 128 | <groupId>org.apache.maven.plugins</groupId> |
| 129 | <artifactId>maven-scm-publish-plugin</artifactId> |
| 130 | <version>1.0-beta-2</version> |
| 131 | <configuration> |
| 132 | <content>${project.reporting.outputDirectory}</content> |
| 133 | <pubScmUrl>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</pubScmUrl> |
| 134 | <checkoutDirectory>${maven.site.cache}/${maven.site.path}</checkoutDirectory> |
| 135 | <tryUpdate>true</tryUpdate> |
| 136 | </configuration> |
| 137 | <executions> |
| 138 | <execution> |
| 139 | <id>scm-publish</id> |
| 140 | <phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin --> |
| 141 | <goals> |
| 142 | <goal>publish-scm</goal> |
| 143 | </goals> |
| 144 | </execution> |
| 145 | </executions> |
| 146 | </plugin> |
| 147 | <plugin> |
| 148 | <artifactId>maven-enforcer-plugin</artifactId> |
| 149 | <executions> |
| 150 | <execution> |
| 151 | <goals> |
| 152 | <goal>enforce</goal> |
| 153 | </goals> |
| 154 | <id>ensure-no-container-api</id> |
| 155 | <configuration> |
| 156 | <rules> |
| 157 | <bannedDependencies> |
| 158 | <excludes> |
| 159 | <exclude>org.codehaus.plexus:plexus-component-api</exclude> |
| 160 | </excludes> |
| 161 | <message>The new containers are not supported. You probably added a dependency that is missing the exclusions.</message> |
| 162 | </bannedDependencies> |
| 163 | </rules> |
| 164 | <fail>true</fail> |
| 165 | </configuration> |
| 166 | </execution> |
| 167 | </executions> |
| 168 | </plugin> |
| 169 | <plugin> |
| 170 | <groupId>org.apache.maven.plugins</groupId> |
| 171 | <artifactId>maven-plugin-plugin</artifactId> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <id>generated-helpmojo</id> |
| 175 | <goals> |
| 176 | <goal>helpmojo</goal> |
| 177 | </goals> |
| 178 | </execution> |
| 179 | </executions> |
| 180 | </plugin> |
| 181 | </plugins> |
| 182 | </build> |
| 183 | |
| 184 | <reporting> |
| 185 | <plugins> |
| 186 | <plugin> |
| 187 | <groupId>org.apache.maven.plugins</groupId> |
| 188 | <artifactId>maven-plugin-plugin</artifactId> |
| 189 | <version>3.2</version> |
| 190 | </plugin> |
| 191 | <plugin> |
| 192 | <groupId>org.apache.maven.plugins</groupId> |
| 193 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 194 | <version>2.6</version> |
| 195 | </plugin> |
| 196 | </plugins> |
| 197 | </reporting> |
| 198 | |
| 199 | <profiles> |
| 200 | <profile> |
| 201 | <id>quality-checks</id> |
| 202 | <activation> |
| 203 | <property> |
| 204 | <name>quality-checks</name> |
| 205 | <value>true</value> |
| 206 | </property> |
| 207 | </activation> |
| 208 | <build> |
| 209 | <plugins> |
| 210 | <plugin> |
| 211 | <groupId>org.apache.maven.plugins</groupId> |
| 212 | <artifactId>maven-docck-plugin</artifactId> |
| 213 | <executions> |
| 214 | <execution> |
| 215 | <id>docck-check</id> |
| 216 | <phase>verify</phase> |
| 217 | <goals> |
| 218 | <goal>check</goal> |
| 219 | </goals> |
| 220 | </execution> |
| 221 | </executions> |
| 222 | </plugin> |
| 223 | </plugins> |
| 224 | </build> |
| 225 | </profile> |
| 226 | <profile> |
| 227 | <id>run-its</id> |
| 228 | <build> |
| 229 | <plugins> |
| 230 | <plugin> |
| 231 | <groupId>org.apache.maven.plugins</groupId> |
| 232 | <artifactId>maven-invoker-plugin</artifactId> |
| 233 | <configuration> |
| 234 | <debug>true</debug> |
| 235 | <projectsDirectory>src/it</projectsDirectory> |
| 236 | <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> |
| 237 | <preBuildHookScript>setup</preBuildHookScript> |
| 238 | <postBuildHookScript>verify</postBuildHookScript> |
| 239 | <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| 240 | <settingsFile>src/it/settings.xml</settingsFile> |
| 241 | <pomIncludes> |
| 242 | <pomInclude>*/pom.xml</pomInclude> |
| 243 | </pomIncludes> |
| 244 | </configuration> |
| 245 | <executions> |
| 246 | <execution> |
| 247 | <id>integration-test</id> |
| 248 | <goals> |
| 249 | <goal>install</goal> |
| 250 | <goal>integration-test</goal> |
| 251 | <goal>verify</goal> |
| 252 | </goals> |
| 253 | </execution> |
| 254 | </executions> |
| 255 | </plugin> |
| 256 | </plugins> |
| 257 | </build> |
| 258 | </profile> |
| 259 | <profile> |
| 260 | <id>site-release</id> |
| 261 | <properties> |
| 262 | <maven.site.path>plugins/${project.artifactId}</maven.site.path> |
| 263 | </properties> |
| 264 | </profile> |
| 265 | <profile> |
| 266 | <id>reporting</id> |
| 267 | <reporting> |
| 268 | <plugins> |
| 269 | <plugin> |
| 270 | <groupId>org.apache.maven.plugins</groupId> |
| 271 | <artifactId>maven-invoker-plugin</artifactId> |
| 272 | <version>1.7</version> |
| 273 | </plugin> |
| 274 | </plugins> |
| 275 | </reporting> |
| 276 | </profile> |
| 277 | <profile> |
| 278 | <id>maven-3</id> |
| 279 | <activation> |
| 280 | <file> |
| 281 | <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) --> |
| 282 | <exists>${basedir}</exists> |
| 283 | </file> |
| 284 | </activation> |
| 285 | <build> |
| 286 | <plugins> |
| 287 | <!-- if releasing current pom with Maven 3, site descriptor must be attached --> |
| 288 | <plugin> |
| 289 | <groupId>org.apache.maven.plugins</groupId> |
| 290 | <artifactId>maven-site-plugin</artifactId> |
| 291 | <inherited>false</inherited> |
| 292 | <executions> |
| 293 | <execution> |
| 294 | <id>attach-descriptor</id> |
| 295 | <goals> |
| 296 | <goal>attach-descriptor</goal> |
| 297 | </goals> |
| 298 | </execution> |
| 299 | </executions> |
| 300 | </plugin> |
| 301 | </plugins> |
| 302 | </build> |
| 303 | </profile> |
| 304 | </profiles> |
| 305 | </project> |