1<?xml version="1.0" encoding="UTF-8"?> 2 3<!-- 4Licensed to the Apache Software Foundation (ASF) under one 5or more contributor license agreements. See the NOTICE file 6distributed with this work for additional information 7regarding copyright ownership. The ASF licenses this file 8to you under the Apache License, Version 2.0 (the 9"License"); you may not use this file except in compliance 10with the License. You may obtain a copy of the License at 11 12 http://www.apache.org/licenses/LICENSE-2.0 13 14Unless required by applicable law or agreed to in writing, 15software distributed under the License is distributed on an 16"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17KIND, either express or implied. See the License for the 18specific language governing permissions and limitations 19under the License. 20--> 21 22<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"> 23 <modelVersion>4.0.0</modelVersion> 24 25 <!-- for more information, see the documentation of this POM: http://maven.apache.org/pom/asf/ --> 26 <groupId>org.apache</groupId> 27 <artifactId>apache</artifactId> 28 <version>16</version> 29 <packaging>pom</packaging> 30 31 <name>The Apache Software Foundation</name> 32 <description> 33 The Apache Software Foundation provides support for the Apache community of open-source software projects. 34 The Apache projects are characterized by a collaborative, consensus based development process, an open and 35 pragmatic software license, and a desire to create high quality software that leads the way in its field. 36 We consider ourselves not simply a group of projects sharing a server, but rather a community of developers 37 and users. 38 </description> 39 <url>http://www.apache.org/</url> 40 <organization> 41 <name>The Apache Software Foundation</name> 42 <url>http://www.apache.org/</url> 43 </organization> 44 <licenses> 45 <license> 46 <name>Apache License, Version 2.0</name> 47 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 48 <distribution>repo</distribution> 49 </license> 50 </licenses> 51 52 <mailingLists> 53 <mailingList> 54 <name>Apache Announce List</name> 55 <subscribe>announce-subscribe@apache.org</subscribe> 56 <unsubscribe>announce-unsubscribe@apache.org</unsubscribe> 57 <post>announce@apache.org</post> 58 <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive> 59 </mailingList> 60 </mailingLists> 61 62 <prerequisites><!-- just for information: not inherited in child poms --> 63 <maven>2.2.1</maven><!-- prerequisite of some plugins --> 64 </prerequisites> 65 66 <scm> 67 <connection>scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/apache-16</connection> 68 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/apache-16</developerConnection> 69 <url>http://svn.apache.org/viewvc/maven/pom/tags/apache-16</url> 70 </scm> 71 72 <distributionManagement> 73 <repository> 74 <id>apache.releases.https</id> 75 <name>Apache Release Distribution Repository</name> 76 <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> 77 </repository> 78 <snapshotRepository> 79 <id>apache.snapshots.https</id> 80 <name>${distMgmtSnapshotsName}</name> 81 <url>${distMgmtSnapshotsUrl}</url> 82 </snapshotRepository> 83 </distributionManagement> 84 85 <properties> 86 <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName> 87 <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl> 88 <organization.logo>http://www.apache.org/images/asf_logo_wide.gif</organization.logo> 89 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 90 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 91 <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor> 92 <gpg.useagent>true</gpg.useagent> 93 <arguments /> 94 <!-- Specify the default compiler source/target as 1.4 for backwards compatibility --> 95 <maven.compiler.source>1.4</maven.compiler.source> 96 <maven.compiler.target>1.4</maven.compiler.target> 97 </properties> 98 99 <repositories> 100 <repository> 101 <id>apache.snapshots</id> 102 <name>Apache Snapshot Repository</name> 103 <url>http://repository.apache.org/snapshots</url> 104 <releases> 105 <enabled>false</enabled> 106 </releases> 107 </repository> 108 </repositories> 109 110 <build> 111 <pluginManagement> 112 <plugins> 113 <!-- set versions of common plugins for reproducibility, ordered alphabetically --> 114 <plugin> 115 <groupId>org.apache.maven.plugins</groupId> 116 <artifactId>maven-antrun-plugin</artifactId> 117 <version>1.7</version> 118 </plugin> 119 <plugin> 120 <groupId>org.apache.maven.plugins</groupId> 121 <artifactId>maven-assembly-plugin</artifactId> 122 <version>2.4.1</version> 123 </plugin> 124 <plugin> 125 <groupId>org.apache.maven.plugins</groupId> 126 <artifactId>maven-clean-plugin</artifactId> 127 <version>2.5</version> 128 </plugin> 129 <plugin> 130 <groupId>org.apache.maven.plugins</groupId> 131 <artifactId>maven-compiler-plugin</artifactId> 132 <version>3.1</version> 133 <configuration> 134 <source>${maven.compiler.source}</source> 135 <target>${maven.compiler.target}</target> 136 </configuration> 137 </plugin> 138 <plugin> 139 <groupId>org.apache.maven.plugins</groupId> 140 <artifactId>maven-dependency-plugin</artifactId> 141 <version>2.8</version> 142 </plugin> 143 <plugin> 144 <groupId>org.apache.maven.plugins</groupId> 145 <artifactId>maven-deploy-plugin</artifactId> 146 <version>2.8.2</version> 147 </plugin> 148 <plugin> 149 <groupId>org.apache.maven.plugins</groupId> 150 <artifactId>maven-docck-plugin</artifactId> 151 <version>1.0</version> 152 </plugin> 153 <plugin> 154 <groupId>org.apache.maven.plugins</groupId> 155 <artifactId>maven-enforcer-plugin</artifactId> 156 <version>1.3.1</version> 157 </plugin> 158 <plugin> 159 <groupId>org.apache.maven.plugins</groupId> 160 <artifactId>maven-failsafe-plugin</artifactId> 161 <version>2.17</version> 162 </plugin> 163 <plugin> 164 <groupId>org.apache.maven.plugins</groupId> 165 <artifactId>maven-gpg-plugin</artifactId> 166 <version>1.5</version> 167 </plugin> 168 <plugin> 169 <groupId>org.apache.maven.plugins</groupId> 170 <artifactId>maven-install-plugin</artifactId> 171 <version>2.5.2</version> 172 </plugin> 173 <plugin> 174 <groupId>org.apache.maven.plugins</groupId> 175 <artifactId>maven-invoker-plugin</artifactId> 176 <version>1.9</version> 177 </plugin> 178 <plugin> 179 <groupId>org.apache.maven.plugins</groupId> 180 <artifactId>maven-jar-plugin</artifactId> 181 <version>2.5</version> 182 <configuration> 183 <archive> 184 <manifest> 185 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 186 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 187 </manifest> 188 </archive> 189 </configuration> 190 </plugin> 191 <plugin> 192 <groupId>org.apache.maven.plugins</groupId> 193 <artifactId>maven-javadoc-plugin</artifactId> 194 <version>2.9.1</version> 195 </plugin> 196 <plugin> 197 <groupId>org.apache.maven.plugins</groupId> 198 <artifactId>maven-plugin-plugin</artifactId> 199 <version>3.3</version> 200 </plugin> 201 <!-- START SNIPPET: release-plugin-configuration --> 202 <plugin> 203 <groupId>org.apache.maven.plugins</groupId> 204 <artifactId>maven-release-plugin</artifactId> 205 <version>2.5.1</version> 206 <configuration> 207 <useReleaseProfile>false</useReleaseProfile> 208 <goals>deploy</goals> 209 <arguments>-Papache-release ${arguments}</arguments> 210 <waitBeforeTagging>10</waitBeforeTagging> 211 </configuration> 212 </plugin> 213 <!-- END SNIPPET: release-plugin-configuration --> 214 <plugin> 215 <groupId>org.apache.maven.plugins</groupId> 216 <artifactId>maven-remote-resources-plugin</artifactId> 217 <version>1.5</version> 218 </plugin> 219 <plugin> 220 <groupId>org.apache.maven.plugins</groupId> 221 <artifactId>maven-resources-plugin</artifactId> 222 <version>2.6</version> 223 </plugin> 224 <plugin> 225 <groupId>org.apache.maven.plugins</groupId> 226 <artifactId>maven-scm-plugin</artifactId> 227 <version>1.9.2</version> 228 </plugin> 229 <plugin> 230 <groupId>org.apache.maven.plugins</groupId> 231 <artifactId>maven-scm-publish-plugin</artifactId> 232 <version>1.0-beta-2</version><!-- last version compatible with Maven 2: latest is configured in profile --> 233 </plugin> 234 <plugin> 235 <groupId>org.apache.maven.plugins</groupId> 236 <artifactId>maven-site-plugin</artifactId> 237 <version>3.4</version> 238 <dependencies><!-- TODO remove when upgrading m-site-p to 3.4.1: see MSITE-724 --> 239 <dependency> 240 <groupId>org.apache.maven</groupId> 241 <artifactId>maven-archiver</artifactId> 242 <version>2.5</version> 243 </dependency> 244 <dependency> 245 <groupId>org.codehaus.plexus</groupId> 246 <artifactId>plexus-archiver</artifactId> 247 <version>2.4.4</version> 248 </dependency> 249 </dependencies> 250 </plugin> 251 <plugin> 252 <groupId>org.apache.maven.plugins</groupId> 253 <artifactId>maven-source-plugin</artifactId> 254 <version>2.3</version> 255 </plugin> 256 <plugin> 257 <groupId>org.apache.maven.plugins</groupId> 258 <artifactId>maven-surefire-plugin</artifactId> 259 <version>2.17</version><!-- keep maven-failsafe-plugin in sync --> 260 </plugin> 261 <plugin> 262 <groupId>org.apache.rat</groupId> 263 <artifactId>apache-rat-plugin</artifactId> 264 <version>0.11</version> 265 </plugin> 266 <plugin> 267 <groupId>org.codehaus.mojo</groupId> 268 <artifactId>clirr-maven-plugin</artifactId> 269 <version>2.6.1</version> 270 </plugin> 271 </plugins> 272 </pluginManagement> 273 <plugins> 274 <!-- We want to package up license resources in the JARs produced --> 275 <plugin> 276 <groupId>org.apache.maven.plugins</groupId> 277 <artifactId>maven-remote-resources-plugin</artifactId> 278 <executions> 279 <execution> 280 <goals> 281 <goal>process</goal> 282 </goals> 283 <configuration> 284 <resourceBundles> 285 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> 286 </resourceBundles> 287 </configuration> 288 </execution> 289 </executions> 290 </plugin> 291 </plugins> 292 </build> 293 294 <profiles> 295 <!-- START SNIPPET: release-profile --> 296 <profile> 297 <id>apache-release</id> 298 <build> 299 <plugins> 300 <!-- Create a source-release artifact that contains the fully buildable 301 project directory source structure. This is the artifact which is 302 the official subject of any release vote. --> 303 <plugin> 304 <artifactId>maven-assembly-plugin</artifactId> 305 <dependencies> 306 <dependency> 307 <groupId>org.apache.apache.resources</groupId> 308 <artifactId>apache-source-release-assembly-descriptor</artifactId> 309 <version>1.0.4</version> 310 </dependency> 311 </dependencies> 312 <executions> 313 <execution> 314 <id>source-release-assembly</id> 315 <phase>package</phase> 316 <goals> 317 <goal>single</goal> 318 </goals> 319 <configuration> 320 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> 321 <descriptorRefs> 322 <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef> 323 </descriptorRefs> 324 <tarLongFileMode>gnu</tarLongFileMode> 325 </configuration> 326 </execution> 327 </executions> 328 </plugin> 329 <!-- We want to deploy the artifact to a staging location for perusal --> 330 <plugin> 331 <inherited>true</inherited> 332 <groupId>org.apache.maven.plugins</groupId> 333 <artifactId>maven-deploy-plugin</artifactId> 334 <configuration> 335 <updateReleaseInfo>true</updateReleaseInfo> 336 </configuration> 337 </plugin> 338 <plugin> 339 <groupId>org.apache.maven.plugins</groupId> 340 <artifactId>maven-source-plugin</artifactId> 341 <executions> 342 <execution> 343 <id>attach-sources</id> 344 <goals> 345 <goal>jar</goal> 346 </goals> 347 </execution> 348 </executions> 349 </plugin> 350 <plugin> 351 <groupId>org.apache.maven.plugins</groupId> 352 <artifactId>maven-javadoc-plugin</artifactId> 353 <executions> 354 <execution> 355 <id>attach-javadocs</id> 356 <goals> 357 <goal>jar</goal> 358 </goals> 359 </execution> 360 </executions> 361 </plugin> 362 <!-- We want to sign the artifact, the POM, and all attached artifacts --> 363 <plugin> 364 <groupId>org.apache.maven.plugins</groupId> 365 <artifactId>maven-gpg-plugin</artifactId> 366 <executions> 367 <execution> 368 <goals> 369 <goal>sign</goal> 370 </goals> 371 </execution> 372 </executions> 373 </plugin> 374 </plugins> 375 </build> 376 </profile> 377 <!-- END SNIPPET: release-profile --> 378 379 <profile> 380 <id>maven-3</id> 381 <activation> 382 <file> 383 <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) --> 384 <exists>${basedir}</exists> 385 </file> 386 </activation> 387 <build> 388 <pluginManagement> 389 <plugins> 390 <plugin> 391 <groupId>org.apache.maven.plugins</groupId> 392 <artifactId>maven-scm-publish-plugin</artifactId> 393 <version>1.1</version> 394 </plugin> 395 </plugins> 396 </pluginManagement> 397 <plugins> 398 <plugin> 399 <groupId>org.apache.maven.plugins</groupId> 400 <artifactId>maven-site-plugin</artifactId> 401 <executions> 402 <execution> 403 <id>attach-descriptor</id> 404 <goals> 405 <goal>attach-descriptor</goal> 406 </goals> 407 </execution> 408 </executions> 409 </plugin> 410 </plugins> 411 </build> 412 </profile> 413 </profiles> 414</project> 415 416