You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2011/09/11 04:58:34 UTC

svn commit: r1167665 - /httpcomponents/project/pom.xml

Author: sebb
Date: Sun Sep 11 02:58:34 2011
New Revision: 1167665

URL: http://svn.apache.org/viewvc?rev=1167665&view=rev
Log:
Add version variables for report plugins

Modified:
    httpcomponents/project/pom.xml

Modified: httpcomponents/project/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/pom.xml?rev=1167665&r1=1167664&r2=1167665&view=diff
==============================================================================
--- httpcomponents/project/pom.xml (original)
+++ httpcomponents/project/pom.xml Sun Sep 11 02:58:34 2011
@@ -369,7 +369,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
-          <version>2.8</version>
+          <version>${hc.javadoc.version}</version>
           <configuration>
             <!-- reduce console output. Can override with -Dquiet=false -->
             <quiet>true</quiet>
@@ -384,12 +384,12 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jxr-plugin</artifactId>
-          <version>2.3</version>
+          <version>${hc.jxr.version}</version>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-project-info-reports-plugin</artifactId>
-           <version>2.4</version>
+           <version>${hc.project-info.version}</version><!-- needed for direct goal use -->
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -438,7 +438,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-report-plugin</artifactId>
-          <version>2.9</version>
+          <version>${hc.surefire-report.version}</version>
         </plugin>
         <!-- Other plugins, alpha order by groupId and artifactId -->
         <plugin>
@@ -475,7 +475,7 @@
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>clirr-maven-plugin</artifactId>
-          <version>2.3</version>
+          <version>${hc.clirr.version}</version>
           <configuration>
             <minSeverity>${minSeverity}</minSeverity>
           </configuration>
@@ -489,6 +489,7 @@
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-project-info-reports-plugin</artifactId>
+           <version>${hc.project-info.version}</version><!-- needed for mvn site -->
            <!-- in particular, we don't want mailing-list to be inherited -->
            <inherited>false</inherited>
            <reportSets>
@@ -570,6 +571,12 @@
    <!-- N.B. It appears that the latest version for which the ASF has a licence is 2.6.3 -->
    <!-- TODO - try 3.1.0 -->
    <clover.version>2.6.3</clover.version>
+   <!-- Define versions of all report plugins, because they should match usage in pluginManagement and modules -->
+   <hc.clirr.version>2.3</hc.clirr.version>
+   <hc.javadoc.version>2.8</hc.javadoc.version>
+   <hc.jxr.version>2.3</hc.jxr.version>
+   <hc.surefire-report.version>2.9</hc.surefire-report.version>
+   <hc.project-info.version>2.4</hc.project-info.version>
 
     <!-- build meta inf -->
     <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>