Why not use the current version of maven-surefire-plugin? Gary
On Wed, May 8, 2013 at 12:49 PM, <l...@apache.org> wrote: > Author: luc > Date: Wed May 8 16:49:20 2013 > New Revision: 1480351 > > URL: http://svn.apache.org/r1480351 > Log: > replaced cobertura with jacoco for coverage reports > > Modified: > commons/proper/commons-parent/trunk/RELEASE-NOTES.txt > commons/proper/commons-parent/trunk/pom.xml > > Modified: commons/proper/commons-parent/trunk/RELEASE-NOTES.txt > URL: > http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/RELEASE-NOTES.txt?rev=1480351&r1=1480350&r2=1480351&view=diff > > ============================================================================== > --- commons/proper/commons-parent/trunk/RELEASE-NOTES.txt (original) > +++ commons/proper/commons-parent/trunk/RELEASE-NOTES.txt Wed May 8 > 16:49:20 2013 > @@ -1,6 +1,6 @@ > Apache Commons Parent 28 RELEASE NOTES > > -The Commons Parent team is pleased to announce the release of > commons-parent-28 > +The Commons Parent team is pleased to announce the release of > commons-parent-29 > > The Apache Commons Parent Pom provides common settings for all Apache > Commons components. > > @@ -11,12 +11,10 @@ Changes in this version include: > > > Changes: > -o apache-parent-pom 9 -> 13 > - > - maven-surefire-plugin 2.12.3 -> 2.12.4 > - maven-surefire-report-plugin 2.12.3 -> 2.12.4 > - cobertura-maven-plugin 2.5.1 -> 2.5.2 > - buildnumber-maven-plugin 1.1 -> 1.2 > +o removed cobertura-maven-plugin > + added jacoco-maven-plugin 0.6.2.201302030002 > + maven-surefire-plugin 2.13 -> 2.14 > + maven-surefire-report-plugin 2.13 -> 2.14 > > > Historical list of changes: http://commons.apache.org/changes-report.html > @@ -24,4 +22,4 @@ Historical list of changes: http://commo > For complete information on Commons Parent, including instructions on how > to submit bug reports, > patches, or suggestions for improvement, see the Apache Commons Parent > website: > > -http://commons.apache.org/ > \ No newline at end of file > +http://commons.apache.org/ > > Modified: commons/proper/commons-parent/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1480351&r1=1480350&r2=1480351&view=diff > > ============================================================================== > --- commons/proper/commons-parent/trunk/pom.xml (original) > +++ commons/proper/commons-parent/trunk/pom.xml Wed May 8 16:49:20 2013 > @@ -35,8 +35,10 @@ > > <!-- > Version 29: > - maven-surefire-plugin 2.13 -> 2.14 > - maven-surefire-report-plugin 2.13 -> 2.14 > + cobertura-maven-plugin 2.5.2 -> removed > + jacoco-maven-plugin -> 0.6.2.201302030002 > + maven-surefire-plugin 2.13 -> 2.14 > + maven-surefire-report-plugin 2.13 -> 2.14 > > For full details see: > > http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-29/RELEASE-NOTES.txt > @@ -632,12 +634,54 @@ http://svn.apache.org/repos/asf/commons/ > <value>!true</value> > </property> > </activation> > + <build> > + <plugins> > + <plugin> > + <groupId>org.jacoco</groupId> > + <artifactId>jacoco-maven-plugin</artifactId> > + <version>${commons.jacoco.version}</version> > + <executions> > + <execution> > + <id>prepare-agent</id> > + <phase>process-test-classes</phase> > + <goals> > + <goal>prepare-agent</goal> > + </goals> > + </execution> > + <execution> > + <id>report</id> > + <phase>site</phase> > + <goals> > + <goal>report</goal> > + </goals> > + </execution> > + <execution> > + <id>check</id> > + <goals> > + <goal>check</goal> > + </goals> > + <configuration> > + <check> > + <classRatio>100</classRatio> > + <instructionRatio>90</instructionRatio> > + <methodRatio>95</methodRatio> > + <branchRatio>85</branchRatio> > + <complexityRatio>85</complexityRatio> > + <lineRatio>90</lineRatio> > + </check> > + <haltOnFailure>false</haltOnFailure> > + </configuration> > + </execution> > + </executions> > + </plugin> > + </plugins> > + </build> > <reporting> > <plugins> > <plugin> > - <groupId>org.codehaus.mojo</groupId> > - <artifactId>cobertura-maven-plugin</artifactId> > - <version>${commons.cobertura.version}</version> > + <groupId>org.jacoco</groupId> > + <artifactId>jacoco-maven-plugin</artifactId> > + <version>${commons.jacoco.version}</version> > </plugin> > </plugins> > </reporting> > @@ -1174,7 +1218,7 @@ http://svn.apache.org/repos/asf/commons/ > <commons.project-info.version>2.6</commons.project-info.version> > <commons.wagon-ssh.version>2.3</commons.wagon-ssh.version> > <commons.site-plugin.version>3.2</commons.site-plugin.version> > - <commons.cobertura.version>2.5.2</commons.cobertura.version> > + <commons.jacoco.version>0.6.2.201302030002</commons.jacoco.version> > <commons.jdepend.version>2.0-beta-2</commons.jdepend.version> > > > > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory