Skip to content

Commit

Permalink
Couverture de code SonarQube
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandalbosco committed Oct 20, 2021
1 parent 7e1594f commit 08b8708
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.3</version>
<version>0.8.7</version>
</plugin>
<plugin>
<groupId>com.smartbear.soapui</groupId>
Expand Down
12 changes: 11 additions & 1 deletion referentiel-couverture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
Un projet séparé est nécessaire, référençant les modules via "dependencies" et non via "modules".
</description>

<properties>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down Expand Up @@ -63,7 +67,13 @@
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>creer-rapport-jacoco</id>
<id>jacoco-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report-aggregate</id>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
Expand Down

0 comments on commit 08b8708

Please sign in to comment.