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>21</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>https://www.apache.org/</url> 40 <organization> 41 <name>The Apache Software Foundation</name> 42 <url>https://www.apache.org/</url> 43 </organization> 44 <licenses> 45 <license> 46 <name>Apache License, Version 2.0</name> 47 <url>https://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>https://mail-archives.apache.org/mod_mbox/www-announce/</archive> 59 </mailingList> 60 </mailingLists> 61 62 <scm> 63 <connection>scm:git:https://gitbox.apache.org/repos/asf/maven-apache-parent.git</connection> 64 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-apache-parent.git</developerConnection> 65 <url>https://github.com/apache/maven-apache-parent/tree/${project.scm.tag}</url> 66 <tag>apache-21</tag> 67 </scm> 68 69 <distributionManagement> 70 <repository> 71 <id>apache.releases.https</id> 72 <name>Apache Release Distribution Repository</name> 73 <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> 74 </repository> 75 <snapshotRepository> 76 <id>apache.snapshots.https</id> 77 <name>${distMgmtSnapshotsName}</name> 78 <url>${distMgmtSnapshotsUrl}</url> 79 </snapshotRepository> 80 </distributionManagement> 81 82 <properties> 83 <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName> 84 <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl> 85 <organization.logo>https://www.apache.org/images/asf_logo_wide.gif</organization.logo> 86 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 87 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 88 <sourceReleaseAssemblyDescriptor>source-release</sourceReleaseAssemblyDescriptor> 89 <gpg.useagent>true</gpg.useagent> 90 <arguments /> 91 <maven.compiler.source>1.7</maven.compiler.source> 92 <maven.compiler.target>1.7</maven.compiler.target> 93 <surefire.version>2.22.0</surefire.version> 94 <assembly.tarLongFileMode>posix</assembly.tarLongFileMode> 95 </properties> 96 97 <repositories> 98 <repository> 99 <id>apache.snapshots</id> 100 <name>Apache Snapshot Repository</name> 101 <url>https://repository.apache.org/snapshots</url> 102 <releases> 103 <enabled>false</enabled> 104 </releases> 105 </repository> 106 </repositories> 107 108 <build> 109 <pluginManagement> 110 <plugins> 111 <!-- set versions of common plugins for reproducibility, ordered alphabetically --> 112 <plugin> 113 <groupId>org.apache.maven.plugins</groupId> 114 <artifactId>maven-antrun-plugin</artifactId> 115 <version>1.8</version> 116 </plugin> 117 <plugin> 118 <groupId>org.apache.maven.plugins</groupId> 119 <artifactId>maven-assembly-plugin</artifactId> 120 <version>3.0.0</version> 121 </plugin> 122 <plugin> 123 <groupId>org.apache.maven.plugins</groupId> 124 <artifactId>maven-clean-plugin</artifactId> 125 <version>3.1.0</version> 126 </plugin> 127 <plugin> 128 <groupId>org.apache.maven.plugins</groupId> 129 <artifactId>maven-compiler-plugin</artifactId> 130 <version>3.7.0</version> 131 </plugin> 132 <plugin> 133 <groupId>org.apache.maven.plugins</groupId> 134 <artifactId>maven-dependency-plugin</artifactId> 135 <version>3.1.1</version> 136 </plugin> 137 <plugin> 138 <groupId>org.apache.maven.plugins</groupId> 139 <artifactId>maven-deploy-plugin</artifactId> 140 <version>2.8.2</version> 141 </plugin> 142 <plugin> 143 <groupId>org.apache.maven.plugins</groupId> 144 <artifactId>maven-docck-plugin</artifactId> 145 <version>1.1</version> 146 </plugin> 147 <plugin> 148 <groupId>org.apache.maven.plugins</groupId> 149 <artifactId>maven-ear-plugin</artifactId> 150 <version>3.0.1</version> 151 </plugin> 152 <plugin> 153 <groupId>org.apache.maven.plugins</groupId> 154 <artifactId>maven-enforcer-plugin</artifactId> 155 <version>1.4.1</version> 156 </plugin> 157 <plugin> 158 <groupId>org.apache.maven.plugins</groupId> 159 <artifactId>maven-failsafe-plugin</artifactId> 160 <version>${surefire.version}</version> 161 </plugin> 162 <plugin> 163 <groupId>org.apache.maven.plugins</groupId> 164 <artifactId>maven-gpg-plugin</artifactId> 165 <version>1.6</version> 166 <configuration> 167 <gpgArguments> 168 <arg>--digest-algo=SHA512</arg> 169 </gpgArguments> 170 </configuration> 171 </plugin> 172 <plugin> 173 <groupId>org.apache.maven.plugins</groupId> 174 <artifactId>maven-help-plugin</artifactId> 175 <version>3.1.0</version> 176 </plugin> 177 <plugin> 178 <groupId>org.apache.maven.plugins</groupId> 179 <artifactId>maven-install-plugin</artifactId> 180 <version>2.5.2</version> 181 </plugin> 182 <plugin> 183 <groupId>org.apache.maven.plugins</groupId> 184 <artifactId>maven-invoker-plugin</artifactId> 185 <version>3.1.0</version> 186 </plugin> 187 <plugin> 188 <groupId>org.apache.maven.plugins</groupId> 189 <artifactId>maven-jar-plugin</artifactId> 190 <version>3.1.0</version> 191 <configuration> 192 <archive> 193 <manifest> 194 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 195 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 196 </manifest> 197 </archive> 198 </configuration> 199 </plugin> 200 <plugin> 201 <groupId>org.apache.maven.plugins</groupId> 202 <artifactId>maven-javadoc-plugin</artifactId> 203 <version>3.0.1</version> 204 </plugin> 205 <plugin> 206 <groupId>org.apache.maven.plugins</groupId> 207 <artifactId>maven-plugin-plugin</artifactId> 208 <version>3.5.2</version> 209 </plugin> 210 <plugin> 211 <groupId>org.apache.maven.plugins</groupId> 212 <artifactId>maven-project-info-reports-plugin</artifactId> 213 <version>3.0.0</version> 214 </plugin> 215 <!-- START SNIPPET: release-plugin-configuration --> 216 <plugin> 217 <groupId>org.apache.maven.plugins</groupId> 218 <artifactId>maven-release-plugin</artifactId> 219 <version>2.5.3</version> 220 <configuration> 221 <useReleaseProfile>false</useReleaseProfile> 222 <goals>deploy</goals> 223 <arguments>-Papache-release ${arguments}</arguments> 224 <waitBeforeTagging>10</waitBeforeTagging> 225 </configuration> 226 </plugin> 227 <!-- END SNIPPET: release-plugin-configuration --> 228 <plugin> 229 <groupId>org.apache.maven.plugins</groupId> 230 <artifactId>maven-remote-resources-plugin</artifactId> 231 <version>1.5</version> 232 </plugin> 233 <plugin> 234 <groupId>org.apache.maven.plugins</groupId> 235 <artifactId>maven-resources-plugin</artifactId> 236 <version>3.1.0</version> 237 </plugin> 238 <plugin> 239 <groupId>org.apache.maven.plugins</groupId> 240 <artifactId>maven-scm-plugin</artifactId> 241 <version>1.9.5</version> 242 </plugin> 243 <plugin> 244 <groupId>org.apache.maven.plugins</groupId> 245 <artifactId>maven-scm-publish-plugin</artifactId> 246 <version>3.0.0</version> 247 </plugin> 248 <plugin> 249 <groupId>org.apache.maven.plugins</groupId> 250 <artifactId>maven-site-plugin</artifactId> 251 <version>3.7.1</version> 252 </plugin> 253 <plugin> 254 <groupId>org.apache.maven.plugins</groupId> 255 <artifactId>maven-source-plugin</artifactId> 256 <version>3.0.1</version> 257 </plugin> 258 <plugin> 259 <groupId>org.apache.maven.plugins</groupId> 260 <artifactId>maven-surefire-plugin</artifactId> 261 <version>${surefire.version}</version> 262 </plugin> 263 <plugin> 264 <groupId>org.apache.maven.plugins</groupId> 265 <artifactId>maven-surefire-report-plugin</artifactId> 266 <version>${surefire.version}</version> 267 </plugin> 268 <plugin> 269 <groupId>org.apache.maven.plugins</groupId> 270 <artifactId>maven-war-plugin</artifactId> 271 <version>3.2.2</version> 272 </plugin> 273 <plugin> 274 <groupId>org.apache.maven.plugins</groupId> 275 <artifactId>maven-shade-plugin</artifactId> 276 <version>3.1.1</version> 277 </plugin> 278 <plugin> 279 <groupId>org.apache.rat</groupId> 280 <artifactId>apache-rat-plugin</artifactId> 281 <version>0.12</version> 282 </plugin> 283 <plugin> 284 <groupId>org.codehaus.mojo</groupId> 285 <artifactId>clirr-maven-plugin</artifactId> 286 <version>2.8</version> 287 </plugin> 288 </plugins> 289 </pluginManagement> 290 <plugins> 291 <!-- We want to package up license resources in the JARs produced --> 292 <plugin> 293 <groupId>org.apache.maven.plugins</groupId> 294 <artifactId>maven-remote-resources-plugin</artifactId> 295 <executions> 296 <execution> 297 <id>process-resource-bundles</id> 298 <goals> 299 <goal>process</goal> 300 </goals> 301 <configuration> 302 <resourceBundles> 303 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> 304 </resourceBundles> 305 </configuration> 306 </execution> 307 </executions> 308 </plugin> 309 <plugin> 310 <groupId>org.apache.maven.plugins</groupId> 311 <artifactId>maven-enforcer-plugin</artifactId> 312 <executions> 313 <execution> 314 <id>enforce-maven-version</id> 315 <goals> 316 <goal>enforce</goal> 317 </goals> 318 <configuration> 319 <rules> 320 <requireMavenVersion> 321 <version>3.0.5</version> 322 </requireMavenVersion> 323 </rules> 324 </configuration> 325 </execution> 326 </executions> 327 </plugin> 328 <plugin> 329 <groupId>org.apache.maven.plugins</groupId> 330 <artifactId>maven-site-plugin</artifactId> 331 <executions> 332 <execution> 333 <id>attach-descriptor</id> 334 <goals> 335 <goal>attach-descriptor</goal> 336 </goals> 337 </execution> 338 </executions> 339 </plugin> 340 </plugins> 341 </build> 342 343 <profiles> 344 <!-- START SNIPPET: release-profile --> 345 <profile> 346 <id>apache-release</id> 347 <build> 348 <plugins> 349 <!-- Create a source-release artifact that contains the fully buildable 350 project directory source structure. This is the artifact which is 351 the official subject of any release vote. --> 352 <plugin> 353 <groupId>org.apache.maven.plugins</groupId> 354 <artifactId>maven-assembly-plugin</artifactId> 355 <dependencies> 356 <dependency> 357 <groupId>org.apache.apache.resources</groupId> 358 <artifactId>apache-source-release-assembly-descriptor</artifactId> 359 <version>1.0.6</version> 360 </dependency> 361 </dependencies> 362 <executions> 363 <execution> 364 <id>source-release-assembly</id> 365 <phase>package</phase> 366 <goals> 367 <goal>single</goal> 368 </goals> 369 <configuration> 370 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> 371 <descriptorRefs> 372 <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef> 373 </descriptorRefs> 374 <tarLongFileMode>posix</tarLongFileMode> 375 </configuration> 376 </execution> 377 </executions> 378 </plugin> 379 <!-- We want to deploy the artifact to a staging location for perusal --> 380 <plugin> 381 <inherited>true</inherited> 382 <groupId>org.apache.maven.plugins</groupId> 383 <artifactId>maven-deploy-plugin</artifactId> 384 <configuration> 385 <updateReleaseInfo>true</updateReleaseInfo> 386 </configuration> 387 </plugin> 388 <plugin> 389 <groupId>org.apache.maven.plugins</groupId> 390 <artifactId>maven-source-plugin</artifactId> 391 <executions> 392 <execution> 393 <id>attach-sources</id> 394 <goals> 395 <goal>jar-no-fork</goal> 396 </goals> 397 </execution> 398 </executions> 399 </plugin> 400 <plugin> 401 <groupId>org.apache.maven.plugins</groupId> 402 <artifactId>maven-javadoc-plugin</artifactId> 403 <executions> 404 <execution> 405 <id>attach-javadocs</id> 406 <goals> 407 <goal>jar</goal> 408 </goals> 409 </execution> 410 </executions> 411 </plugin> 412 <!-- We want to sign the artifact, the POM, and all attached artifacts --> 413 <plugin> 414 <groupId>org.apache.maven.plugins</groupId> 415 <artifactId>maven-gpg-plugin</artifactId> 416 <executions> 417 <execution> 418 <id>sign-release-artifacts</id> 419 <goals> 420 <goal>sign</goal> 421 </goals> 422 </execution> 423 </executions> 424 </plugin> 425 <!-- calculate checksums of source release for Apache dist area --> 426 <plugin> 427 <groupId>net.nicoulaj.maven.plugins</groupId> 428 <artifactId>checksum-maven-plugin</artifactId> 429 <version>1.7</version> 430 <executions> 431 <execution> 432 <id>source-release-checksum</id> 433 <goals> 434 <goal>files</goal> 435 </goals> 436 </execution> 437 </executions> 438 <configuration> 439 <algorithms> 440 <algorithm>SHA-512</algorithm> 441 </algorithms> 442 <csvSummary>false</csvSummary> 443 <fileSets> 444 <fileSet> 445 <directory>${project.build.directory}</directory> 446 <includes> 447 <include>${project.artifactId}-${project.version}-source-release.zip</include> 448 <include>${project.artifactId}-${project.version}-source-release.tar*</include> 449 </includes> 450 </fileSet> 451 </fileSets> 452 <failIfNoFiles>false</failIfNoFiles><!-- usually, no file to do checksum: don't consider error --> 453 </configuration> 454 </plugin> 455 </plugins> 456 </build> 457 </profile> 458 <!-- END SNIPPET: release-profile --> 459 </profiles> 460</project> 461