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