try to set sonar settings via maven properties

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-01-08 00:01:05 +00:00
parent f776ddfbbb
commit b1508479a7
2 changed files with 6 additions and 11 deletions

View File

@ -72,6 +72,12 @@
<!-- Try to disable running SVN blame as it causes errors here because the source is copied from the actual SVN location here! -->
<sonar.scm.disabled>true</sonar.scm.disabled>
<sonar.organization>apache</sonar.organization>
<sonar.projectKey>poi-parent</sonar.projectKey>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.jacoco.reportPaths>target/jacoco.exec</sonar.jacoco.reportPaths>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<!-- define some of the third-party or plugin-versions globally to use the same in all modules -->
<xmlbeans.version>3.1.0</xmlbeans.version>
<junit.version>4.13</junit.version>

View File

@ -1,11 +0,0 @@
# Sonar configuration file:
# see https://sonarcloud.io/documentation/analysis/scan/sonarscanner/
# and https://sonarcloud.io/documentation/analysis/analysis-parameters/
# Organization and project keys are displayed in the right sidebar of the project homepage
sonar.organization=apache
sonar.projectKey=poi-parent
sonar.host.url=https://sonarcloud.io
sonar.jacoco.reportPaths=target/jacoco.exec
sonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml