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