Skip to content

Commit

Permalink
revert configs for sonar xml report
Browse files Browse the repository at this point in the history
  • Loading branch information
GordeaS authored and GordeaS committed Mar 19, 2024
1 parent a703958 commit 2d7eef3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,12 @@
<sonar.java.pmd.reportPaths>${project.build.directory}/pmd.xml</sonar.java.pmd.reportPaths>
<sonar.java.spotbugs.reportPaths>${project.build.directory}/spotbugsXml.xml</sonar.java.spotbugs.reportPaths>
<sonar.organization>europeana</sonar.organization>
<!--
<sonar.projectKey>europeana_set-api</sonar.projectKey>
-->

<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<!-- Exclude POJOs code duplication analysis -->
<sonar.cpd.exclusions>**/model/**/*</sonar.cpd.exclusions>
<!-- see https://github.com/SaurabhDev/Demo-Java-Sonar-Maven/tree/master -->
<aggregate.report.xml>reports/jacoco/test/jacocoTestReport.xml</aggregate.report.xml>
<aggregate.report.xml>set-integration-testing/target/site/jacoco-aggregate/jacoco.xml</aggregate.report.xml>
<sonar.coverage.jacoco.xmlReportPaths>${aggregate.report.xml}</sonar.coverage.jacoco.xmlReportPaths>


Expand Down
4 changes: 4 additions & 0 deletions set-integration-testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,20 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!--
<configuration>
<reportsDirectory>${sonar.coverage.jacoco.xmlReportPaths}</reportsDirectory>
</configuration>
-->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<!--
<configuration>
<reportsDirectory>${sonar.coverage.jacoco.xmlReportPaths}</reportsDirectory>
</configuration>
-->
</plugin>

<!-- sonar coverage report aggregation -->
Expand Down

0 comments on commit 2d7eef3

Please sign in to comment.