Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
Yalz committed Nov 24, 2023
1 parent fb06d94 commit 566b3f1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -f ./backend/pom.xml -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
run: mvn -f ./backend/pom.xml -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage
9 changes: 9 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@
<apache.sis-embedded-data.verion>1.3</apache.sis-embedded-data.verion>
<apache.derby.version>10.14.2.0</apache.derby.version>
<jsoup.version>1.16.1</jsoup.version>

<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
<sonar.language>java</sonar.language>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>informatievlaanderen</sonar.organization>
<sonar.projectKey>informatievlaanderen_vsds-demonstrator</sonar.projectKey>
</properties>

<dependencies>
Expand Down
12 changes: 0 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@
<module>backend</module>
</modules>

<properties>
<!-- Jacoco -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/target/site/jacoco/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
<sonar.language>java</sonar.language>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>informatievlaanderen</sonar.organization>
<sonar.projectKey>informatievlaanderen_vsds-demonstrator</sonar.projectKey>
</properties>

<licenses>
<license>
<name>EUPL</name>
Expand Down

0 comments on commit 566b3f1

Please sign in to comment.