You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2013/01/15 23:07:45 UTC

svn commit: r1433690 - /httpcomponents/project/trunk/pom.xml

Author: olegk
Date: Tue Jan 15 22:07:45 2013
New Revision: 1433690

URL: http://svn.apache.org/viewvc?rev=1433690&view=rev
Log:
Set Maven 3.0.3 as a pre-requisite; added stylecheck plugin 2.9.1;  upgraded Clover version to 3.1.10; added optional Clover profile

Modified:
    httpcomponents/project/trunk/pom.xml

Modified: httpcomponents/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/trunk/pom.xml?rev=1433690&r1=1433689&r2=1433690&view=diff
==============================================================================
--- httpcomponents/project/trunk/pom.xml (original)
+++ httpcomponents/project/trunk/pom.xml Tue Jan 15 22:07:45 2013
@@ -47,9 +47,11 @@
 Version 7 - changes since version 6
 ===================================
 
-Added Maven pre-requisite of 2.2.1 (minimum)
+Added Maven pre-requisite of 3.0.3 (minimum)
 Clirr 2.3 => 2.5
 Buildnumber 1.0 => 1.2
+Clover 2.6.3 => 3.1.10
+Stylecheck = 2.9.1
 
 Changes since previous version (5)
 ==============================
@@ -543,6 +545,11 @@ Felix bundle plugin updated: 2.3.5 -> 2.
             <minSeverity>${minSeverity}</minSeverity>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <version>2.9.1</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -680,10 +687,52 @@ Felix bundle plugin updated: 2.3.5 -> 2.
      </build>
    </profile>
 
+    <!-- Optional Clover profile -->
+    <profile>
+      <id>clover</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>com.atlassian.maven.plugins</groupId>
+            <artifactId>maven-clover2-plugin</artifactId>
+            <version>3.1.10</version>
+            <configuration>
+              <flushPolicy>threaded</flushPolicy>
+              <flushInterval>100</flushInterval>
+              <targetPercentage>50%</targetPercentage>
+            </configuration>
+            <executions>
+              <execution>
+                <id>site</id>
+                <phase>pre-site</phase>
+                <goals>
+                  <goal>instrument</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>com.atlassian.maven.plugins</groupId>
+            <artifactId>maven-clover2-plugin</artifactId>
+            <version>3.1.10</version>
+            <configuration>
+              <jdk>1.5</jdk>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+
+    </profile>
+
  </profiles>
 
  <prerequisites>
-   <maven>2.2.1</maven>
+   <maven>3.0.3</maven>
  </prerequisites>
 
  <properties>
@@ -695,10 +744,6 @@ Felix bundle plugin updated: 2.3.5 -> 2.
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <hc.site.url>scp://people.apache.org/www/hc.apache.org/</hc.site.url>
 
-   <!-- Define the Clover version here - it's needed in pluginManagement here and the reporting sections in modules -->
-   <!-- 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.5</hc.clirr.version>
    <hc.javadoc.version>2.8</hc.javadoc.version>