Skip to content

Commit

Permalink
Update root pom.xml with JaCoCo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
asekawa committed Nov 26, 2024
1 parent 0b46587 commit 00e43d0
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,11 @@
<artifactId>pax-logging-api</artifactId>
<version>${pax.logging.api.version}</version>
</dependency>
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -340,6 +345,8 @@
<spotbugs-maven-plugin.version>4.5.3.0</spotbugs-maven-plugin.version>

<jaxp-ri-version>1.4.5</jaxp-ri-version>

<jacoco.version>0.8.12</jacoco.version>
</properties>

<build>
Expand Down Expand Up @@ -389,7 +396,26 @@
<artifactId>findsecbugs-plugin</artifactId>
<version>${findsecbugs-plugin.version}</version>
</plugin>
</plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</configuration>
<executions>
<execution>
Expand All @@ -401,6 +427,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>

Expand Down

0 comments on commit 00e43d0

Please sign in to comment.