Browse Source

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
tags/REL_4_1_2
Andreas Beeker 4 years ago
parent
commit
b1508479a7
2 changed files with 6 additions and 11 deletions
  1. 6
    0
      sonar/pom.xml
  2. 0
    11
      sonar/sonar-project.properties

+ 6
- 0
sonar/pom.xml 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>

+ 0
- 11
sonar/sonar-project.properties 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

Loading…
Cancel
Save