Skip to content

Commit

Permalink
Merge pull request #132 from groovy/java-11
Browse files Browse the repository at this point in the history
 Switch from Cobertura to Jacoco
  • Loading branch information
keeganwitt authored May 5, 2019
2 parents a8571ab + b43922c commit db438cf
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 19 deletions.
47 changes: 29 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<mavenVersion>3.0.1</mavenVersion>
<coberturaPluginVersion>2.7</coberturaPluginVersion>
<jacocoPluginVersion>0.8.3</jacocoPluginVersion>
<javadocPluginVersion>3.1.0</javadocPluginVersion>
<!-- these are properties so integration tests can use them -->
<javaVersion>1.6</javaVersion>
Expand Down Expand Up @@ -377,20 +377,16 @@
<version>${surefirePluginVersion}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${coberturaPluginVersion}</version>
<configuration>
<check />
<instrumentation>
<excludes>
<!-- excluded because is a generated class -->
<exclude>org/codehaus/gmavenplus/mojo/HelpMojo.class</exclude>
<!-- excluded because is copied from and maintained in JDK -->
<exclude>org/codehaus/gmavenplus/util/JDK5Utils.class</exclude>
</excludes>
</instrumentation>
</configuration>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacocoPluginVersion}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -429,6 +425,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadocPluginVersion}</version>
<configuration>
<source>6</source>
<failOnError>false</failOnError>
</configuration>
<executions>
Expand Down Expand Up @@ -504,6 +501,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadocPluginVersion}</version>
<configuration>
<source>6</source>
<failOnError>false</failOnError>
</configuration>
</plugin>
Expand All @@ -518,9 +516,22 @@
<version>${surefirePluginVersion}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${coberturaPluginVersion}</version>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacocoPluginVersion}</version>
<configuration>
<excludes>
<!-- excluded because is a generated class -->
<exclude>org/codehaus/gmavenplus/mojo/HelpMojo.class</exclude>
</excludes>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.6</version>
<version>1.7</version>
</skin>

<custom>
Expand Down

0 comments on commit db438cf

Please sign in to comment.