diff --git a/BUILDING.txt b/BUILDING.txt index 2a0e7fe07b..afaec81418 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -6,9 +6,7 @@ Building HttpComponents Core JDK 1.5+ is required in order to compile and run HttpCore. HttpCore utilizes Maven as a distribution management and packaging tool. -Version 3.0.3 or later is recommended. Maven 3.0.x, however it is known -to be incompatible with the Clover plugin. Use Maven 2.2.1 to generate -web site content with Clover coverage reports. +Version 3.0.3 or later is required. Maven installation and configuration instructions can be found here: @@ -57,7 +55,7 @@ Fix the archive files so the source files have the correct EOL settings: mvn antrun:run -(7) Building project web site +(7) Building project web site with Clover reports Execute the following command in order to generate the project web site: diff --git a/pom.xml b/pom.xml index 0bf1f9972d..b2ad6af72d 100644 --- a/pom.xml +++ b/pom.xml @@ -280,6 +280,30 @@ true + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.9.1 + + UTF-8 + + + + validate + validate + + hc-checkstyle.xml + true + true + false + ${basedir}/src + + + checkstyle + + + + @@ -315,53 +339,13 @@ - profile-checkstyle - - - ${basedir} - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.9.1 - - UTF-8 - - - - validate - validate - - hc-checkstyle.xml - true - true - false - ${basedir}/src - - - checkstyle - - - - - - - - - profile-clover-report - - - ${basedir} - - + clover com.atlassian.maven.plugins maven-clover2-plugin + 3.1.10 threaded 100 @@ -385,7 +369,7 @@ com.atlassian.maven.plugins maven-clover2-plugin - ${clover.version} + 3.1.10 1.5