diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 0cde74d..eaadf7a 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -2,7 +2,7 @@ name: SonarQube Cloud on: push: branches: - - develop + - tech/ANT-2504_add_sonar_conf pull_request: types: [opened, synchronize, reopened] jobs: diff --git a/pom.xml b/pom.xml index eb463ed..a0f383f 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ 2.0.3 antaressimulatorteam AntaresSimulatorTeam_antares-datamanager-back - target/site/jacoco/jacoco.xml + https://sonarcloud.io @@ -168,42 +168,33 @@ 5.0.0.4389 + + org.jacoco + jacoco-maven-plugin + 0.8.10 + + + + prepare-agent + + + + report + test + + report + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + - - - coverage - - - - org.jacoco - jacoco-maven-plugin - 0.8.10 - - - prepare-agent - - prepare-agent - - - - report - - report - - - ${project.build.directory}/site/jacoco - - XML - - - - - - - - - spring-snapshots