Replace cobertura with JaCoCo since JApiCmp blows up when it sees
class files modified by Cobertura.
Comment out System.out.println.
Use current JApiCmp.
Use current Surefire.
Use current JaCoC.
MODIFY
pom.xml
pom.xml
@@ -272,11 +272,12 @@ file comparators, endian transformation classes, and much more.
org.apache.commons.io.output;
org.apache.commons.io.*;version=${project.version};-noimport:=true
</commons.osgi.export>
-
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-io/</commons.scmPubUrl>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
<checkstyle.plugin.version>2.17</checkstyle.plugin.version>
-
+ <commons.jacoco.version>0.8.4</commons.jacoco.version>
+ <commons.surefire.version>2.22.2</commons.surefire.version>
+ <commons.japicmp.version>0.14.1</commons.japicmp.version>
<japicmp.skip>false</japicmp.skip>
</properties>
@@ -325,7 +326,7 @@ file comparators, endian transformation classes, and much more.
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<!-- limit memory size see IO-161 -->
- <argLine>-Xmx25M</argLine>
+ <argLine>${argLine} -Xmx25M</argLine>
<includes>
<!-- Only include test classes, not test data -->
<include>**/*Test*.class</include>
@@ -382,10 +383,6 @@ file comparators, endian transformation classes, and much more.
<reporting>
<plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
@@ -398,6 +395,7 @@ file comparators, endian transformation classes, and much more.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.5</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>

DELETE
src/site/resources/profile.cobertura
src/site/resources/profile.cobertura
RENAME
src/site/resources/profile.clirr
src/site/resources/profile.jacoco
- Replace cobertura with JaCoCo since JApiCmp blows up when it sees
class files modified by Cobertura.
- Comment out System.out.println.
- Use current JApiCmp.
- Use current Surefire.
- Use current JaCoC.