1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!-- 3 4 Licensed to the Apache Software Foundation (ASF) under one or more 5 contributor license agreements. See the NOTICE file distributed with 6 this work for additional information regarding copyright ownership. 7 The ASF licenses this file to You under the Apache License, Version 2.0 8 (the "License"); you may not use this file except in compliance with 9 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, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 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 <parent> 23 <groupId>org.apache</groupId> 24 <artifactId>apache</artifactId> 25 <version>13</version> 26 </parent> 27 <groupId>org.apache.commons</groupId> 28 <artifactId>commons-parent</artifactId> 29 <packaging>pom</packaging> 30 <version>32</version> 31 <name>Apache Commons Parent</name> 32 <url>http://commons.apache.org/</url> 33 <description>The Apache Commons Parent POM provides common settings for all Apache Commons components.</description> 34 35 <!-- 36 Version 32: 37 38 Updated javadoc plugin to 2.9.1 39 This includes the fix for Javadoc vulnerability (CVE-2013-1571, VU#225657) MJAVADOC-370 40 41 For full details see: 42 http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-30/RELEASE-NOTES.txt 43 --> 44 45 <!-- Now required by versions plugin --> 46 <prerequisites> 47 <maven>2.2.1</maven> 48 </prerequisites> 49 50 <ciManagement> 51 <system>continuum</system> 52 <url>http://vmbuild.apache.org/continuum/</url> 53 </ciManagement> 54 55 <!-- 56 Starting with version 22, the RAT plugin has changed Maven group and id, so any existing configuration 57 needs to be updated. 58 To fix component POMs, please change any occurrences of: 59 <groupId>org.codehaus.mojo</groupId> 60 <artifactId>rat-maven-plugin</artifactId> 61 to the new values: 62 <groupId>org.apache.rat</groupId> 63 <artifactId>apache-rat-plugin</artifactId> 64 65 Site deployment 66 =============== 67 Cannot define this here at present, see https://issues.apache.org/jira/browse/COMMONSSITE-26. 68 69 The following should be added to the component POM: 70 71 <distributionManagement> 72 <site> 73 <id>apache.website</id> 74 <name>Apache Commons Site</name> 75 <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/${commons.componentid}</url> 76 </site> 77 </distributionManagement> 78 79 Coverage tool selection 80 ======================= 81 Starting with release 30, there are optional profiles for both Cobertura and JaCoCo. 82 These can be enabled independently on the command-line: 83 84 mvn site -Pcobertura -Pjacoco 85 86 Or the component can define a default coverage tool by creating either (or both) of the following files: 87 88 src/site/resources/profile.cobertura 89 src/site/resources/profile.jacoco 90 91 These can later be overridden by cancelling the profile: 92 93 mvn site -P!jacoco 94 95 --> 96 97 <!-- 98 This section *must* be overwritten by subprojects. It is only to allow 99 a release of the commons-parent POM. 100 --> 101 <scm> 102 <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-32</connection> 103 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-32</developerConnection> 104 <url>http://svn.apache.org/viewvc/commons/proper/commons-parent/tags/commons-parent-32</url> 105 </scm> 106 107 <mailingLists> 108 <!-- N.B. commons-site now uses the Apache POM so has its own copy of the mailing list definitions --> 109 <!-- 110 Components should normally override the default mailing list report by using the comnand 111 mvn commons:mail-page 112 This generates the file src/site/xdoc/mail-lists.xml which when processed will replace the PIR version. 113 --> 114 <!-- Changes to this list should be synchronised with the commons build plugin --> 115 <mailingList> 116 <name>Commons User List</name> 117 <subscribe>user-subscribe (a] commons.apache.org</subscribe> 118 <unsubscribe>user-unsubscribe (a] commons.apache.org</unsubscribe> 119 <post>user (a] commons.apache.org</post> 120 <archive>http://mail-archives.apache.org/mod_mbox/commons-user/</archive> 121 <otherArchives> 122 <otherArchive>http://markmail.org/list/org.apache.commons.users/</otherArchive> 123 <otherArchive>http://old.nabble.com/Commons---User-f319.html</otherArchive> 124 <otherArchive>http://www.mail-archive.com/user@commons.apache.org/</otherArchive> 125 <otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.user</otherArchive> 126 </otherArchives> 127 </mailingList> 128 <mailingList> 129 <name>Commons Dev List</name> 130 <subscribe>dev-subscribe (a] commons.apache.org</subscribe> 131 <unsubscribe>dev-unsubscribe (a] commons.apache.org</unsubscribe> 132 <post>dev (a] commons.apache.org</post> 133 <archive>http://mail-archives.apache.org/mod_mbox/commons-dev/</archive> 134 <otherArchives> 135 <otherArchive>http://markmail.org/list/org.apache.commons.dev/</otherArchive> 136 <otherArchive>http://old.nabble.com/Commons---Dev-f317.html</otherArchive> 137 <otherArchive>http://www.mail-archive.com/dev@commons.apache.org/</otherArchive> 138 <otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.devel</otherArchive> 139 </otherArchives> 140 </mailingList> 141 <mailingList> 142 <name>Commons Issues List</name> 143 <subscribe>issues-subscribe (a] commons.apache.org</subscribe> 144 <unsubscribe>issues-unsubscribe (a] commons.apache.org</unsubscribe> 145 <archive>http://mail-archives.apache.org/mod_mbox/commons-issues/</archive> 146 <otherArchives> 147 <otherArchive>http://markmail.org/list/org.apache.commons.issues/</otherArchive> 148 <otherArchive>http://old.nabble.com/Commons---Issues-f25499.html</otherArchive> 149 <otherArchive>http://www.mail-archive.com/issues@commons.apache.org/</otherArchive> 150 </otherArchives> 151 </mailingList> 152 <mailingList> 153 <name>Commons Commits List</name> 154 <subscribe>commits-subscribe (a] commons.apache.org</subscribe> 155 <unsubscribe>commits-unsubscribe (a] commons.apache.org</unsubscribe> 156 <archive>http://mail-archives.apache.org/mod_mbox/commons-commits/</archive> 157 <otherArchives> 158 <otherArchive>http://markmail.org/list/org.apache.commons.commits/</otherArchive> 159 <otherArchive>http://www.mail-archive.com/commits@commons.apache.org/</otherArchive> 160 </otherArchives> 161 </mailingList> 162 <mailingList> 163 <name>Apache Announce List</name> 164 <subscribe>announce-subscribe (a] apache.org</subscribe> 165 <unsubscribe>announce-unsubscribe (a] apache.org</unsubscribe> 166 <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive> 167 <otherArchives> 168 <otherArchive>http://markmail.org/list/org.apache.announce/</otherArchive> 169 <otherArchive>http://old.nabble.com/Apache-News-and-Announce-f109.html</otherArchive> 170 <otherArchive>http://www.mail-archive.com/announce@apache.org/</otherArchive> 171 <otherArchive>http://news.gmane.org/gmane.comp.apache.announce</otherArchive> 172 </otherArchives> 173 </mailingList> 174 </mailingLists> 175 <build> 176 <!-- TODO find a better way to add N&L files to jars and test jars 177 See also maven-remote-resources-plugin configuration below. 178 --> 179 <resources> 180 <!-- This is the default setting from the super-pom --> 181 <resource> 182 <directory>src/main/resources</directory> 183 </resource> 184 <!-- hack to ensure the N&L appear in jars --> 185 <resource> 186 <directory>${basedir}</directory> 187 <targetPath>META-INF</targetPath> 188 <includes> 189 <include>NOTICE.txt</include> 190 <include>LICENSE.txt</include> 191 </includes> 192 </resource> 193 </resources> 194 <!-- ensure test jars also get NOTICE & LICENSE files --> 195 <testResources> 196 <!-- This is the default setting from the super-pom --> 197 <testResource> 198 <directory>src/test/resources</directory> 199 </testResource> 200 <!-- hack to ensure the N&L appear in jars --> 201 <testResource> 202 <directory>${basedir}</directory> 203 <targetPath>META-INF</targetPath> 204 <includes> 205 <include>NOTICE.txt</include> 206 <include>LICENSE.txt</include> 207 </includes> 208 </testResource> 209 </testResources> 210 <pluginManagement> 211 <plugins> 212 <!-- org.apache.maven.plugins, alpha order by artifact id --> 213 <plugin> 214 <groupId>org.apache.maven.plugins</groupId> 215 <artifactId>maven-antrun-plugin</artifactId> 216 <version>1.7</version> 217 </plugin> 218 <plugin> 219 <groupId>org.apache.maven.plugins</groupId> 220 <artifactId>maven-assembly-plugin</artifactId> 221 <version>2.4</version> 222 </plugin> 223 <plugin> 224 <groupId>org.apache.maven.plugins</groupId> 225 <artifactId>maven-clean-plugin</artifactId> 226 <version>2.5</version> 227 </plugin> 228 <plugin> 229 <groupId>org.apache.maven.plugins</groupId> 230 <artifactId>maven-compiler-plugin</artifactId> 231 <version>3.1</version> 232 <configuration> 233 <source>${maven.compiler.source}</source> 234 <target>${maven.compiler.target}</target> 235 <encoding>${commons.encoding}</encoding> 236 <fork>${commons.compiler.fork}</fork> 237 <compilerVersion>${commons.compiler.compilerVersion}</compilerVersion> 238 <executable>${commons.compiler.javac}</executable> 239 </configuration> 240 </plugin> 241 <plugin> 242 <groupId>org.apache.maven.plugins</groupId> 243 <artifactId>maven-deploy-plugin</artifactId> 244 <version>2.7</version> 245 </plugin> 246 <!-- Apache parent includes docck and enforcer --> 247 <plugin> 248 <groupId>org.apache.maven.plugins</groupId> 249 <artifactId>maven-gpg-plugin</artifactId> 250 <version>1.4</version> 251 </plugin> 252 <plugin> 253 <groupId>org.apache.maven.plugins</groupId> 254 <artifactId>maven-install-plugin</artifactId> 255 <version>2.4</version> 256 </plugin> 257 <!-- Apache parent: invoker --> 258 <plugin> 259 <groupId>org.apache.maven.plugins</groupId> 260 <artifactId>maven-jar-plugin</artifactId> 261 <version>2.4</version> 262 </plugin> 263 <plugin> 264 <groupId>org.apache.maven.plugins</groupId> 265 <artifactId>maven-javadoc-plugin</artifactId> 266 <version>${commons.javadoc.version}</version> 267 <configuration> 268 <!-- keep only errors and warnings --> 269 <quiet>true</quiet> 270 <encoding>${commons.encoding}</encoding> 271 <docEncoding>${commons.docEncoding}</docEncoding> 272 <notimestamp>true</notimestamp> 273 <links> 274 <link>${commons.javadoc.java.link}</link> 275 <link>${commons.javadoc.javaee.link}</link> 276 </links> 277 <archive> 278 <manifest> 279 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 280 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 281 </manifest> 282 </archive> 283 </configuration> 284 </plugin> 285 <plugin> 286 <groupId>org.apache.maven.plugins</groupId> 287 <artifactId>maven-release-plugin</artifactId> 288 <version>2.4.1</version> 289 </plugin> 290 <plugin> 291 <!-- TODO see above - find better way to add N&L files to jars and test jars --> 292 <groupId>org.apache.maven.plugins</groupId> 293 <artifactId>maven-remote-resources-plugin</artifactId> 294 <!-- override old version from Apache pom 9 --> 295 <version>1.4</version> 296 <configuration> 297 <!-- 298 Apache parent POM automatically adds "LICENSE" and "NOTICE" files 299 to jars - duplicating the "LICENSE.txt" and "NOTICE.txt" 300 files that components already have. 301 --> 302 <skip>true</skip> 303 </configuration> 304 </plugin> 305 <plugin> 306 <groupId>org.apache.maven.plugins</groupId> 307 <artifactId>maven-resources-plugin</artifactId> 308 <version>2.6</version> 309 </plugin> 310 <!-- Apache parent: scm --> 311 <plugin> 312 <groupId>org.apache.maven.plugins</groupId> 313 <artifactId>maven-site-plugin</artifactId> 314 <version>${commons.site-plugin.version}</version> 315 <configuration> 316 <!-- don't deploy site with maven-site-plugin --> 317 <skipDeploy>true</skipDeploy> 318 </configuration> 319 </plugin> 320 <plugin> 321 <groupId>org.apache.maven.plugins</groupId> 322 <artifactId>maven-source-plugin</artifactId> 323 <version>2.2.1</version> 324 <configuration> 325 <archive> 326 <manifest> 327 <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 328 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 329 </manifest> 330 </archive> 331 </configuration> 332 </plugin> 333 <plugin> 334 <groupId>org.apache.maven.plugins</groupId> 335 <artifactId>maven-surefire-plugin</artifactId> 336 <version>${commons.surefire.version}</version> 337 </plugin> 338 <!-- Other plugins, alpha order by groupId and artifactId --> 339 <plugin> 340 <groupId>org.apache.commons</groupId> 341 <artifactId>commons-build-plugin</artifactId> 342 <version>1.4</version> 343 <configuration> 344 <commons.release.name>${commons.release.name}</commons.release.name> 345 </configuration> 346 </plugin> 347 <plugin> 348 <groupId>org.apache.felix</groupId> 349 <artifactId>maven-bundle-plugin</artifactId> 350 <version>2.4.0</version> 351 <inherited>true</inherited> 352 </plugin> 353 <plugin> 354 <groupId>org.apache.rat</groupId> 355 <artifactId>apache-rat-plugin</artifactId> 356 <version>${commons.rat.version}</version> 357 </plugin> 358 <plugin> 359 <groupId>org.codehaus.mojo</groupId> 360 <artifactId>buildnumber-maven-plugin</artifactId> 361 <version>1.2</version> 362 </plugin> 363 <plugin> 364 <groupId>org.codehaus.mojo</groupId> 365 <artifactId>clirr-maven-plugin</artifactId> 366 <version>${commons.clirr.version}</version> 367 <configuration> 368 <minSeverity>${minSeverity}</minSeverity> 369 </configuration> 370 </plugin> 371 <!-- Apache parent: plexus & modello --> 372 </plugins> 373 </pluginManagement> 374 <plugins> 375 <!-- org.apache.maven.plugins, alpha order by artifact id --> 376 <plugin> 377 <!-- 378 - Copy LICENSE.txt and NOTICE.txt so that they are included 379 - in the -javadoc jar file for the component. 380 --> 381 <groupId>org.apache.maven.plugins</groupId> 382 <artifactId>maven-antrun-plugin</artifactId> 383 <executions> 384 <execution> 385 <id>javadoc.resources</id> 386 <phase>generate-sources</phase> 387 <goals> 388 <goal>run</goal> 389 </goals> 390 <configuration> 391 <target> 392 <copy todir="${project.build.directory}/apidocs/META-INF"> 393 <fileset dir="${basedir}"> 394 <include name="LICENSE.txt" /> 395 <include name="NOTICE.txt" /> 396 </fileset> 397 </copy> 398 </target> 399 </configuration> 400 </execution> 401 </executions> 402 </plugin> 403 <plugin> 404 <groupId>org.apache.maven.plugins</groupId> 405 <artifactId>maven-compiler-plugin</artifactId> 406 </plugin> 407 <plugin> 408 <groupId>org.apache.maven.plugins</groupId> 409 <artifactId>maven-jar-plugin</artifactId> 410 <configuration> 411 <archive> 412 <manifestFile>${commons.manifestfile}</manifestFile> 413 <manifestEntries> 414 <Specification-Title>${project.name}</Specification-Title> 415 <Specification-Version>${project.version}</Specification-Version> 416 <Specification-Vendor>${project.organization.name}</Specification-Vendor> 417 <Implementation-Title>${project.name}</Implementation-Title> 418 <Implementation-Version>${project.version}</Implementation-Version> 419 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> 420 <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id> 421 <Implementation-Build>${implementation.build}</Implementation-Build> 422 <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK> 423 <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK> 424 </manifestEntries> 425 </archive> 426 </configuration> 427 </plugin> 428 <plugin> 429 <groupId>org.apache.maven.plugins</groupId> 430 <artifactId>maven-surefire-plugin</artifactId> 431 <configuration> 432 <jvm>${commons.surefire.java}</jvm> 433 </configuration> 434 </plugin> 435 <!-- Other plugins, alpha order by groupId and artifactId --> 436 <plugin> 437 <groupId>org.apache.commons</groupId> 438 <artifactId>commons-build-plugin</artifactId> 439 </plugin> 440 <plugin> 441 <groupId>org.apache.felix</groupId> 442 <artifactId>maven-bundle-plugin</artifactId> 443 <configuration> 444 <!-- 445 dummy entry to stop bundle plugin from picking up jar config and reporting 446 WARNING: Duplicate name in Manifest 447 See http://markmail.org/message/mpkl24wk3jrjhhjg 448 --> 449 <archive> 450 <forced>true</forced> 451 </archive> 452 <excludeDependencies>true</excludeDependencies> 453 <manifestLocation>${project.build.directory}/osgi</manifestLocation> 454 <instructions> 455 <!-- stops the "uses" clauses being added to "Export-Package" manifest entry --> 456 <_nouses>true</_nouses> 457 <!-- Stop the JAVA_1_n_HOME variables from being treated as headers by Bnd --> 458 <_removeheaders>JAVA_1_3_HOME,JAVA_1_4_HOME,JAVA_1_5_HOME,JAVA_1_6_HOME,JAVA_1_7_HOME</_removeheaders> 459 <Bundle-SymbolicName>${commons.osgi.symbolicName}</Bundle-SymbolicName> 460 <Export-Package>${commons.osgi.export}</Export-Package> 461 <Private-Package>${commons.osgi.private}</Private-Package> 462 <Import-Package>${commons.osgi.import}</Import-Package> 463 <DynamicImport-Package>${commons.osgi.dynamicImport}</DynamicImport-Package> 464 <Bundle-DocURL>${project.url}</Bundle-DocURL> 465 </instructions> 466 </configuration> 467 <executions> 468 <execution> 469 <id>bundle-manifest</id> 470 <phase>process-classes</phase> 471 <goals> 472 <goal>manifest</goal> 473 </goals> 474 </execution> 475 </executions> 476 </plugin> 477 <!-- Needed for command-line access, e.g mvn apache-rat:rat and mvn apache-rat:check --> 478 <plugin> 479 <groupId>org.apache.rat</groupId> 480 <artifactId>apache-rat-plugin</artifactId> 481 <version>${commons.rat.version}</version> 482 <!-- Should agree with config in reporting section --> 483 <configuration> 484 <!-- 485 If you wish to override this list in the component (child) pom, ensure you use 486 <excludes combine.children="merge"> 487 so that the child pom entries replace the parent entries 488 --> 489 <excludes combine.children="append"> 490 <exclude>site-content/**</exclude> 491 <exclude>.checkstyle</exclude> 492 <exclude>.fbprefs</exclude> 493 <exclude>.pmd</exclude> 494 <exclude>src/site/resources/download_*.cgi</exclude> 495 <exclude>src/site/resources/profile.*</exclude> 496 </excludes> 497 </configuration> 498 </plugin> 499 500 <plugin> 501 <groupId>org.apache.maven.plugins</groupId> 502 <artifactId>maven-scm-publish-plugin</artifactId> 503 <version>1.0-beta-2</version> 504 <configuration> 505 <content>${project.reporting.outputDirectory}</content> 506 <pubScmUrl>scm:svn:${commons.scmPubUrl}</pubScmUrl> 507 <checkoutDirectory>${commons.scmPubCheckoutDirectory}</checkoutDirectory> 508 <tryUpdate>true</tryUpdate> 509 </configuration> 510 <executions> 511 <execution> 512 <id>scm-publish</id> 513 <phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin --> 514 <goals> 515 <goal>publish-scm</goal> 516 </goals> 517 </execution> 518 </executions> 519 </plugin> 520 521 </plugins> 522 </build> 523 524 <reporting> 525 <!-- N.B. plugins defined here in the <reporting> section ignore what's defined in <pluginManagement> 526 in the <build> section above, so we have to define the versions here. --> 527 <plugins> 528 <!-- org.apache.maven.plugins, alpha order by artifact id --> 529 <plugin> 530 <groupId>org.apache.maven.plugins</groupId> 531 <artifactId>maven-changes-plugin</artifactId> 532 <version>${commons.changes.version}</version> 533 <configuration> 534 <xmlPath>${basedir}/src/changes/changes.xml</xmlPath> 535 <columnNames>Fix Version,Key,Component,Summary,Type,Resolution,Status</columnNames> 536 <!-- Sort cols in natural order when using JQL for JIRA 5.1 --> 537 <sortColumnNames>Fix Version DESC,Type,Key DESC</sortColumnNames> 538 <resolutionIds>Fixed</resolutionIds> 539 <statusIds>Resolved,Closed</statusIds> 540 <!-- Don't include sub-task --> 541 <typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds> 542 <!-- For JIRA >= 5.1 --> 543 <useJql>true</useJql> 544 </configuration> 545 <reportSets> 546 <reportSet> 547 <reports> 548 <report>changes-report</report> 549 <report>jira-report</report> 550 </reports> 551 </reportSet> 552 </reportSets> 553 </plugin> 554 <plugin> 555 <groupId>org.apache.maven.plugins</groupId> 556 <artifactId>maven-javadoc-plugin</artifactId> 557 <version>${commons.javadoc.version}</version> 558 <configuration> 559 <!-- keep only errors and warnings --> 560 <quiet>true</quiet> 561 <source>${maven.compiler.source}</source> 562 <encoding>${commons.encoding}</encoding> 563 <docencoding>${commons.docEncoding}</docencoding> 564 <notimestamp>true</notimestamp> 565 <linksource>true</linksource> 566 <!-- prevent svnpub to be too much noisy --> 567 <notimestamp>true</notimestamp> 568 <links> 569 <link>${commons.javadoc.java.link}</link> 570 <link>${commons.javadoc.javaee.link}</link> 571 </links> 572 </configuration> 573 </plugin> 574 <plugin> 575 <groupId>org.apache.maven.plugins</groupId> 576 <artifactId>maven-jxr-plugin</artifactId> 577 <version>${commons.jxr.version}</version> 578 </plugin> 579 <plugin> 580 <groupId>org.apache.maven.plugins</groupId> 581 <artifactId>maven-project-info-reports-plugin</artifactId> 582 <version>${commons.project-info.version}</version> 583 <!-- 584 Unfortunately it does not appear to be possible to override 585 reports configured in a parent POM. 586 See https://jira.codehaus.org/browse/MPIR-241 587 and https://issues.apache.org/jira/browse/MPOM-32 588 So we define here all those reports that are suitable for 589 all components. 590 Components can add extra reports if they wish, but cannot disable any. 591 --> 592 <reportSets> 593 <reportSet> 594 <reports> 595 <report>index</report> 596 <report>summary</report> 597 <report>modules</report> 598 <!-- <report>license</report> site must link to ASF page instead --> 599 <report>project-team</report> 600 <report>scm</report> 601 <report>issue-tracking</report> 602 <report>mailing-list</report> 603 <report>dependency-management</report> 604 <report>dependencies</report> 605 <report>dependency-convergence</report> 606 <report>cim</report> 607 <!-- <report>plugin-management</report> not very useful for end users --> 608 <!-- <report>plugins</report> not very useful for end users --> 609 <report>distribution-management</report> 610 </reports> 611 </reportSet> 612 </reportSets> 613 </plugin> 614 <plugin> 615 <groupId>org.apache.maven.plugins</groupId> 616 <artifactId>maven-site-plugin</artifactId> 617 <version>${commons.site-plugin.version}</version> 618 <configuration> 619 <!-- Exclude the navigation file for Maven 1 sites 620 and the changes file used by the changes-plugin, 621 as they interfere with the site generation. --> 622 <moduleExcludes> 623 <xdoc>navigation.xml,changes.xml</xdoc> 624 </moduleExcludes> 625 </configuration> 626 </plugin> 627 <plugin> 628 <groupId>org.apache.maven.plugins</groupId> 629 <artifactId>maven-surefire-report-plugin</artifactId> 630 <version>${commons.surefire.version}</version> 631 <configuration> 632 <aggregate>${commons.surefire-report.aggregate}</aggregate> 633 </configuration> 634 </plugin> 635 <!-- Other plugins, alpha order by groupId and artifactId --> 636 <plugin> 637 <groupId>org.apache.rat</groupId> 638 <artifactId>apache-rat-plugin</artifactId> 639 <version>${commons.rat.version}</version> 640 <!-- Should agree with config in build section --> 641 <configuration> 642 <!-- 643 If you wish to override this list in the component (child) pom, ensure you use 644 <excludes combine.children="merge"> 645 so that the child pom entries replace the parent entries 646 --> 647 <excludes combine.children="append"> 648 <exclude>site-content/**</exclude> 649 <exclude>.pmd</exclude> 650 <exclude>src/site/resources/download_*.cgi</exclude> 651 <exclude>src/site/resources/profile.*</exclude> 652 </excludes> 653 </configuration> 654 </plugin> 655 <plugin> 656 <groupId>org.codehaus.mojo</groupId> 657 <artifactId>clirr-maven-plugin</artifactId> 658 <version>${commons.clirr.version}</version> 659 <configuration> 660 <minSeverity>${minSeverity}</minSeverity> 661 </configuration> 662 </plugin> 663 <plugin> 664 <groupId>org.codehaus.mojo</groupId> 665 <artifactId>jdepend-maven-plugin</artifactId> 666 <version>${commons.jdepend.version}</version> 667 </plugin> 668 </plugins> 669 </reporting> 670 671 <profiles> 672 673 <profile> 674 <id>jacoco</id> 675 <activation> 676 <!-- 677 N.B. in spite of what the Maven docs may say, 678 activation conditions are ORed together, see: 679 http://jira.codehaus.org/browse/MNG-4565 680 Fairly useless, but that's what was done in 681 http://jira.codehaus.org/browse/MNG-3106 682 683 So we cannot also check for Java 1.5+ 684 This should not be a problem now as the profile is optional. 685 Components that still target Java 1.4 or earlier 686 just need to ensure they don't use JaCoCo by default. 687 --> 688 <file> 689 <exists>src/site/resources/profile.jacoco</exists> 690 </file> 691 </activation> 692 <build> 693 <plugins> 694 <plugin> 695 <groupId>org.jacoco</groupId> 696 <artifactId>jacoco-maven-plugin</artifactId> 697 <version>${commons.jacoco.version}</version> 698 <!-- Note that since JaCoCo relies on an agent to perform tests, 699 it changes the surefire arguments line. If a component also 700 needs to change the argument line of maven-surefire-plugin, 701 then it must add ${argLine} property (which is set by JaCoCo) 702 in the argLine configuration element of maven-surefire-plugin 703 to preserve JaCoCo settings. --> 704 <executions> 705 <execution> 706 <id>prepare-agent</id> 707 <phase>process-test-classes</phase> 708 <goals> 709 <goal>prepare-agent</goal> 710 </goals> 711 </execution> 712 <execution> 713 <id>report</id> 714 <phase>site</phase> 715 <goals> 716 <goal>report</goal> 717 </goals> 718 </execution> 719 <execution> 720 <id>check</id> 721 <goals> 722 <goal>check</goal> 723 </goals> 724 <configuration> 725 <check> 726 <classRatio>${commons.jacoco.classRatio}</classRatio> 727 <instructionRatio>${commons.jacoco.instructionRatio}</instructionRatio> 728 <methodRatio>${commons.jacoco.methodRatio}</methodRatio> 729 <branchRatio>${commons.jacoco.branchRatio}</branchRatio> 730 <complexityRatio>${commons.jacoco.complexityRatio}</complexityRatio> 731 <lineRatio>${commons.jacoco.lineRatio}</lineRatio> 732 </check> 733 <haltOnFailure>${commons.jacoco.haltOnFailure}</haltOnFailure> 734 </configuration> 735 </execution> 736 </executions> 737 </plugin> 738 </plugins> 739 </build> 740 <reporting> 741 <plugins> 742 <plugin> 743 <groupId>org.jacoco</groupId> 744 <artifactId>jacoco-maven-plugin</artifactId> 745 <version>${commons.jacoco.version}</version> 746 </plugin> 747 </plugins> 748 </reporting> 749 </profile> 750 751 <profile> 752 <id>cobertura</id> 753 <activation> 754 <file> 755 <exists>src/site/resources/profile.cobertura</exists> 756 </file> 757 </activation> 758 <reporting> 759 <plugins> 760 <plugin> 761 <groupId>org.codehaus.mojo</groupId> 762 <artifactId>cobertura-maven-plugin</artifactId> 763 <version>${commons.cobertura.version}</version> 764 </plugin> 765 </plugins> 766 </reporting> 767 </profile> 768 769 <!-- 770 Profile for Commons releases via Nexus. 771 Assembles artifacts, creates source and javadoc jars, signs them and adds hashes. 772 --> 773 <profile> 774 <id>release</id> 775 <build> 776 <plugins> 777 <!-- We want to sign the artifact, the POM, and all attached artifacts --> 778 <plugin> 779 <artifactId>maven-gpg-plugin</artifactId> 780 <configuration> 781 <passphrase>${gpg.passphrase}</passphrase> 782 </configuration> 783 <executions> 784 <execution> 785 <id>sign-artifacts</id> 786 <phase>verify</phase> 787 <goals> 788 <goal>sign</goal> 789 </goals> 790 </execution> 791 </executions> 792 </plugin> 793 <plugin> 794 <artifactId>maven-install-plugin</artifactId> 795 <configuration> 796 <createChecksum>true</createChecksum> 797 </configuration> 798 </plugin> 799 <plugin> 800 <artifactId>maven-source-plugin</artifactId> 801 <executions> 802 <execution> 803 <id>create-source-jar</id> 804 <goals> 805 <goal>jar</goal> 806 <goal>test-jar</goal> 807 </goals> 808 </execution> 809 </executions> 810 </plugin> 811 <plugin> 812 <artifactId>maven-jar-plugin</artifactId> 813 <executions> 814 <execution> 815 <goals> 816 <goal>test-jar</goal> 817 </goals> 818 </execution> 819 </executions> 820 </plugin> 821 <plugin> 822 <artifactId>maven-release-plugin</artifactId> 823 <configuration> 824 <!-- Pass these arguments to the deploy plugin. --> 825 <arguments>-Prelease</arguments> 826 </configuration> 827 </plugin> 828 <plugin> 829 <artifactId>maven-javadoc-plugin</artifactId> 830 <executions> 831 <execution> 832 <id>create-javadoc-jar</id> 833 <goals> 834 <goal>javadoc</goal> 835 <goal>jar</goal> 836 </goals> 837 <phase>package</phase> 838 </execution> 839 </executions> 840 <configuration> 841 <source>${maven.compiler.source}</source> 842 </configuration> 843 </plugin> 844 <plugin> 845 <artifactId>maven-assembly-plugin</artifactId> 846 <inherited>true</inherited> 847 <executions> 848 <execution> 849 <goals> 850 <goal>single</goal> 851 </goals> 852 <phase>package</phase> 853 </execution> 854 </executions> 855 </plugin> 856 </plugins> 857 </build> 858 </profile> 859 860 <!-- 861 profile to update the Apache parent pom profile of the same name 862 to better suit the requirements of Apache Commons. 863 [Requires further work] 864 --> 865 <profile> 866 <id>apache-release</id> 867 <build> 868 <plugins> 869 <plugin> 870 <artifactId>maven-release-plugin</artifactId> 871 <configuration> 872 <releaseProfiles>apache-release</releaseProfiles> 873 </configuration> 874 </plugin> 875 <plugin> 876 <groupId>org.apache.maven.plugins</groupId> 877 <artifactId>maven-source-plugin</artifactId> 878 <executions> 879 <execution> 880 <id>attach-test-sources</id> 881 <goals> 882 <goal>test-jar</goal> 883 </goals> 884 </execution> 885 </executions> 886 </plugin> 887 <plugin> 888 <artifactId>maven-install-plugin</artifactId> 889 <configuration> 890 <createChecksum>true</createChecksum> 891 </configuration> 892 </plugin> 893 <plugin> 894 <groupId>org.apache.maven.plugins</groupId> 895 <artifactId>maven-jar-plugin</artifactId> 896 <executions> 897 <execution> 898 <goals> 899 <goal>test-jar</goal> 900 </goals> 901 </execution> 902 </executions> 903 </plugin> 904 </plugins> 905 </build> 906 </profile> 907 908 <!-- 909 Profile for running the build using JDK 1.3 910 (JAVA_1_3_HOME needs to be defined, e.g. in settings.xml or an environment variable) 911 --> 912 <profile> 913 <id>java-1.3</id> 914 <properties> 915 <commons.compiler.fork>true</commons.compiler.fork> 916 <commons.compiler.compilerVersion>1.3</commons.compiler.compilerVersion> 917 <commons.compiler.javac>${JAVA_1_3_HOME}/bin/javac</commons.compiler.javac> 918 <commons.surefire.java>${JAVA_1_3_HOME}/bin/java</commons.surefire.java> 919 </properties> 920 </profile> 921 922 <!-- 923 Profile for running the build using JDK 1.4 924 (JAVA_1_4_HOME needs to be defined, e.g. in settings.xml or an environment variable) 925 --> 926 <profile> 927 <id>java-1.4</id> 928 <properties> 929 <commons.compiler.fork>true</commons.compiler.fork> 930 <commons.compiler.compilerVersion>1.4</commons.compiler.compilerVersion> 931 <commons.compiler.javac>${JAVA_1_4_HOME}/bin/javac</commons.compiler.javac> 932 <commons.surefire.java>${JAVA_1_4_HOME}/bin/java</commons.surefire.java> 933 </properties> 934 </profile> 935 936 <!-- 937 Profile for running the build using JDK 1.5 938 (JAVA_1_5_HOME needs to be defined, e.g. in settings.xml or an environment variable) 939 --> 940 <profile> 941 <id>java-1.5</id> 942 <properties> 943 <commons.compiler.fork>true</commons.compiler.fork> 944 <commons.compiler.compilerVersion>1.5</commons.compiler.compilerVersion> 945 <commons.compiler.javac>${JAVA_1_5_HOME}/bin/javac</commons.compiler.javac> 946 <commons.surefire.java>${JAVA_1_5_HOME}/bin/java</commons.surefire.java> 947 </properties> 948 </profile> 949 950 <!-- 951 Profile for running the build using JDK 1.6 952 (JAVA_1_6_HOME needs to be defined, e.g. in settings.xml or an environment variable) 953 --> 954 <profile> 955 <id>java-1.6</id> 956 <properties> 957 <commons.compiler.fork>true</commons.compiler.fork> 958 <commons.compiler.compilerVersion>1.6</commons.compiler.compilerVersion> 959 <commons.compiler.javac>${JAVA_1_6_HOME}/bin/javac</commons.compiler.javac> 960 <commons.surefire.java>${JAVA_1_6_HOME}/bin/java</commons.surefire.java> 961 </properties> 962 </profile> 963 964 <!-- 965 Profile for running the build using JDK 1.7 966 (JAVA_1_7_HOME needs to be defined, e.g. in settings.xml or an environment variable) 967 --> 968 <profile> 969 <id>java-1.7</id> 970 <properties> 971 <commons.compiler.fork>true</commons.compiler.fork> 972 <commons.compiler.compilerVersion>1.7</commons.compiler.compilerVersion> 973 <commons.compiler.javac>${JAVA_1_7_HOME}/bin/javac</commons.compiler.javac> 974 <commons.surefire.java>${JAVA_1_7_HOME}/bin/java</commons.surefire.java> 975 </properties> 976 </profile> 977 978 <!-- N.B. when adding new java profiles, be sure to update 979 the _removeheaders list in the maven_bundle_plugin configuration --> 980 981 <!-- 982 | Profile to allow testing of deploy phase 983 | e.g. 984 | mvn deploy -Ptest-deploy -Prelease -Dgpg.skip 985 --> 986 <profile> 987 <id>test-deploy</id> 988 <properties> 989 <altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository> 990 </properties> 991 </profile> 992 993 <!-- 994 Profile to build all Commons "proper" components. 995 996 The trunks of all "proper" components can be checked out using: 997 https://svn.apache.org/repos/asf/commons/trunks-proper/ 998 999 This profile is a convenience which can be used, for example, to build all the component sites: 1000 mvn -Ptrunks-proper site 1001 1002 or, to clean up: 1003 mvn -Ptrunks-proper clean 1004 1005 see http://issues.apache.org/jira/browse/COMMONSSITE-30 1006 --> 1007 <profile> 1008 <id>trunks-proper</id> 1009 <modules> 1010 <!-- not yet using mvn module>../attributes</module--> 1011 <module>../bcel</module> 1012 <module>../beanutils</module> 1013 <module>../betwixt</module> 1014 <module>../chain</module> 1015 <module>../cli</module> 1016 <module>../codec</module> 1017 <module>../collections</module> 1018 <module>../compress</module> 1019 <module>../configuration</module> 1020 <module>../daemon</module> 1021 <module>../dbcp</module> 1022 <module>../dbutils</module> 1023 <module>../digester</module> 1024 <module>../discovery</module> 1025 <module>../el</module> 1026 <module>../email</module> 1027 <module>../exec</module> 1028 <module>../fileupload</module> 1029 <module>../functor</module> 1030 <module>../imaging</module> 1031 <module>../io</module> 1032 <module>../jci</module> 1033 <module>../jcs</module> 1034 <!-- not yet using mvn module>../jelly</module--> 1035 <module>../jexl</module> 1036 <module>../jxpath</module> 1037 <module>../lang</module> 1038 <module>../launcher</module> 1039 <module>../logging</module> 1040 <module>../math</module> 1041 <module>../modeler</module> 1042 <module>../net</module> 1043 <module>../ognl</module> 1044 <module>../pool</module> 1045 <module>../primitives</module> 1046 <module>../proxy</module> 1047 <module>../scxml</module> 1048 <!-- not yet using mvn module>../transaction</module--> 1049 <module>../validator</module> 1050 <module>../vfs</module> 1051 </modules> 1052 </profile> 1053 1054 <!-- 1055 Configure site plugin to support both Maven2 and Maven3, see: 1056 http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Using_the_same_version_of_maven-site-plugin_for_both_Maven_2_and_Maven_3 1057 --> 1058 <profile> 1059 <id>maven-3</id> 1060 <activation> 1061 <file> 1062 <!-- The basedir expression is only recognized by Maven 3.x (see MNG-2363) --> 1063 <exists>${basedir}</exists> 1064 </file> 1065 </activation> 1066 <build> 1067 <plugins> 1068 <plugin> 1069 <artifactId>maven-site-plugin</artifactId> 1070 <dependencies> 1071 <dependency> 1072 <!-- add support for ssh/scp --> 1073 <groupId>org.apache.maven.wagon</groupId> 1074 <artifactId>wagon-ssh</artifactId> 1075 <version>${commons.wagon-ssh.version}</version> 1076 </dependency> 1077 </dependencies> 1078 <executions> 1079 <execution> 1080 <id>attach-descriptor</id> 1081 <goals> 1082 <goal>attach-descriptor</goal> 1083 </goals> 1084 </execution> 1085 </executions> 1086 </plugin> 1087 </plugins> 1088 </build> 1089 </profile> 1090 1091 <profile> 1092 <!-- 1093 Generate release notes in top-level directory from src/changes/changes.xml 1094 Usage: 1095 mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn] 1096 1097 Defining changes.version allows one to create the RN without first removing the SNAPSHOT suffix. 1098 1099 Requires file src/changes/release-notes.vm. 1100 A sample template is available from: 1101 https://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/src/changes/release-notes.vm 1102 --> 1103 <id>release-notes</id> 1104 <build> 1105 <plugins> 1106 <plugin> 1107 <groupId>org.apache.maven.plugins</groupId> 1108 <artifactId>maven-changes-plugin</artifactId> 1109 <version>${commons.changes.version}</version> 1110 <configuration> 1111 <template>release-notes.vm</template> 1112 <templateDirectory>src/changes</templateDirectory> 1113 <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> 1114 <outputDirectory>.</outputDirectory> 1115 <announcementFile>RELEASE-NOTES.txt</announcementFile> 1116 <announceParameters> 1117 <releaseVersion>${commons.release.version}</releaseVersion> 1118 </announceParameters> 1119 </configuration> 1120 <executions> 1121 <execution> 1122 <id>create-release-notes</id> 1123 <phase>generate-resources</phase> 1124 <goals> 1125 <goal>announcement-generate</goal> 1126 </goals> 1127 </execution> 1128 </executions> 1129 </plugin> 1130 </plugins> 1131 </build> 1132 </profile> 1133 1134 <!-- 1135 Automatically run the buildnumber plugin unless the buildNumber.skip property is defined as true 1136 --> 1137 <profile> 1138 <id>svn-buildnumber</id> 1139 <activation> 1140 <property><name>!buildNumber.skip</name><value>!true</value></property> 1141 </activation> 1142 <build> 1143 <plugins> 1144 <plugin> 1145 <groupId>org.codehaus.mojo</groupId> 1146 <artifactId>buildnumber-maven-plugin</artifactId> 1147 <executions> 1148 <execution> 1149 <phase>generate-resources</phase> 1150 <goals> 1151 <goal>create</goal> 1152 </goals> 1153 </execution> 1154 </executions> 1155 <configuration> 1156 <!-- Use committed revision so it does not change every time svn update is run --> 1157 <useLastCommittedRevision>true</useLastCommittedRevision> 1158 <!-- default revision number if unavailable --> 1159 <revisionOnScmFailure>??????</revisionOnScmFailure> 1160 <doCheck>false</doCheck> 1161 <doUpdate>false</doUpdate> 1162 </configuration> 1163 </plugin> 1164 </plugins> 1165 </build> 1166 </profile> 1167 <!-- optional profile to use javasvn instead of the SVN CLI for the buildNumber plugin --> 1168 <profile> 1169 <id>javasvn</id> 1170 <build> 1171 <plugins> 1172 <plugin> 1173 <groupId>org.codehaus.mojo</groupId> 1174 <artifactId>buildnumber-maven-plugin</artifactId> 1175 <configuration> 1176 <providerImplementations> 1177 <svn>javasvn</svn> 1178 </providerImplementations> 1179 </configuration> 1180 </plugin> 1181 </plugins> 1182 </build> 1183 </profile> 1184 1185 </profiles> 1186 1187 <properties> 1188 <!-- configuration bits for cutting a release candidate, must be overridden by components --> 1189 <commons.release.version>${project.version}</commons.release.version> 1190 <commons.rc.version>RC1</commons.rc.version> 1191 <commons.jira.id>COMMONSSITE</commons.jira.id> 1192 1193 <!-- Default configuration for compiler source and target JVM --> 1194 <!-- Do NOT change this; it must remain as 1.3 --> 1195 <maven.compiler.source>1.3</maven.compiler.source> 1196 <maven.compiler.target>1.3</maven.compiler.target> 1197 1198 <!-- compiler and surefire plugin settings for "java" profiles --> 1199 <commons.compiler.fork>false</commons.compiler.fork> 1200 <commons.compiler.compilerVersion /> 1201 <commons.compiler.javac /> 1202 <commons.surefire.java /> 1203 1204 <!-- plugin versions (allows same value in reporting and build sections) --> 1205 <commons.surefire.version>2.15</commons.surefire.version> 1206 <commons.surefire-report.version>2.15</commons.surefire-report.version> 1207 <!-- 2.9.1 includes fix for Javadoc vulnerability (CVE-2013-1571, VU#225657) MJAVADOC-370 --> 1208 <commons.javadoc.version>2.9.1</commons.javadoc.version> 1209 <!-- 1210 For RAT 0.9, make sure you <exclude>site-content/**/*</exclude> in your POM if you overrdide the configuration 1211 If you do not exclude site-content, RAT will take a long time to run, for example, 1 hour for Commons IO. 1212 --> 1213 <commons.rat.version>0.9</commons.rat.version> 1214 <commons.changes.version>2.9</commons.changes.version> 1215 <commons.clirr.version>2.5</commons.clirr.version> 1216 <commons.jxr.version>2.3</commons.jxr.version> 1217 <commons.project-info.version>2.7</commons.project-info.version> 1218 <commons.wagon-ssh.version>2.3</commons.wagon-ssh.version> 1219 <commons.site-plugin.version>3.3</commons.site-plugin.version> 1220 <commons.jacoco.version>0.6.3.201306030806</commons.jacoco.version> 1221 <commons.cobertura.version>2.5.2</commons.cobertura.version> 1222 <commons.jdepend.version>2.0-beta-2</commons.jdepend.version> 1223 1224 1225 <!-- Default values for the download-page generation by commons-build-plugin --> 1226 <commons.release.name>${project.artifactId}-${commons.release.version}</commons.release.name> 1227 <commons.release.desc /> 1228 <commons.binary.suffix>-bin</commons.binary.suffix> 1229 <commons.release.2.name>${project.artifactId}-${commons.release.2.version}</commons.release.2.name> 1230 <commons.release.2.desc /> 1231 <commons.release.2.binary.suffix>-bin</commons.release.2.binary.suffix> 1232 <commons.release.3.name>${project.artifactId}-${commons.release.3.version}</commons.release.3.name> 1233 <commons.release.3.desc /> 1234 <commons.release.3.binary.suffix>-bin</commons.release.3.binary.suffix> 1235 1236 <!-- Default values for the jacoco-maven-plugin reports --> 1237 <commons.jacoco.classRatio>100</commons.jacoco.classRatio> 1238 <commons.jacoco.instructionRatio>90</commons.jacoco.instructionRatio> 1239 <commons.jacoco.methodRatio>95</commons.jacoco.methodRatio> 1240 <commons.jacoco.branchRatio>85</commons.jacoco.branchRatio> 1241 <commons.jacoco.complexityRatio>85</commons.jacoco.complexityRatio> 1242 <commons.jacoco.lineRatio>90</commons.jacoco.lineRatio> 1243 <commons.jacoco.haltOnFailure>false</commons.jacoco.haltOnFailure> 1244 1245 <!-- Commons Component Id --> 1246 <commons.componentid>${project.artifactId}</commons.componentid> 1247 1248 <!-- Configuration properties for the OSGi maven-bundle-plugin --> 1249 <commons.osgi.symbolicName>org.apache.commons.${commons.componentid}</commons.osgi.symbolicName> 1250 <commons.osgi.export>org.apache.commons.*;version=${project.version};-noimport:=true</commons.osgi.export> 1251 <commons.osgi.import>*</commons.osgi.import> 1252 <commons.osgi.dynamicImport /> 1253 <commons.osgi.private /> 1254 1255 <!-- location of any manifest file used by maven-jar-plugin --> 1256 <commons.manifestfile>${project.build.directory}/osgi/MANIFEST.MF</commons.manifestfile> 1257 1258 <!-- 1259 Make the deployment protocol pluggable. This allows to switch to 1260 other protocols like scpexe, which some users prefer over scp. 1261 --> 1262 <commons.deployment.protocol>scp</commons.deployment.protocol> 1263 1264 <!-- 1265 Encoding of Java source files: Make sure, that the compiler and 1266 the javadoc generator use the right encoding. Subprojects may 1267 overwrite this, if they are using another encoding. 1268 --> 1269 <commons.encoding>iso-8859-1</commons.encoding> 1270 <commons.docEncoding>${commons.encoding}</commons.docEncoding> 1271 <!-- Define encoding for filtering --> 1272 <project.build.sourceEncoding>${commons.encoding}</project.build.sourceEncoding> 1273 <project.reporting.outputEncoding>${commons.encoding}</project.reporting.outputEncoding> 1274 1275 <!-- Javadoc link to Java API. Default is Java 1.6; components can override to other versions --> 1276 <commons.javadoc.java.link>http://download.oracle.com/javase/6/docs/api/</commons.javadoc.java.link> 1277 <commons.javadoc.javaee.link>http://download.oracle.com/javaee/6/api/</commons.javadoc.javaee.link> 1278 1279 <!-- build meta inf --> 1280 <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format> 1281 <implementation.build>${scmBranch}@r${buildNumber}; ${maven.build.timestamp}</implementation.build> 1282 1283 <!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level --> 1284 <minSeverity>info</minSeverity> 1285 1286 <!-- Allow surefire-report aggregation to be easily configured for multi-module projects --> 1287 <commons.surefire-report.aggregate>false</commons.surefire-report.aggregate> 1288 1289 <!-- scm publish plugin configuration --> 1290 <commons.site.cache>${user.home}/commons-sites</commons.site.cache> 1291 <!-- value modules can override it --> 1292 <commons.site.path>${project.artifactId}</commons.site.path> 1293 1294 <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${project.artifactId}</commons.scmPubUrl> 1295 <commons.scmPubCheckoutDirectory>${commons.site.cache}/${commons.site.path}</commons.scmPubCheckoutDirectory> 1296 1297 <sonar.host.url>https://analysis.apache.org/</sonar.host.url> 1298 1299 </properties> 1300 1301 </project> 1302