try to fix sonar execution warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2020-02-23 15:56:54 +00:00
parent 100ea31fc1
commit 1aed0bc40b
2 changed files with 12 additions and 14 deletions

View File

@ -13,6 +13,11 @@
<name>Apache POI Examples package</name> <name>Apache POI Examples package</name>
<properties>
<!-- There are no junit tests in the examples module -->
<maven.test.skip>true</maven.test.skip>
</properties>
<build> <build>
<plugins> <plugins>
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! --> <!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
@ -65,12 +70,5 @@
<artifactId>poi-ooxml</artifactId> <artifactId>poi-ooxml</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- non-test dependency for UpdateEmbeddedDoc -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -74,10 +74,10 @@
<sonar.organization>apache</sonar.organization> <sonar.organization>apache</sonar.organization>
<sonar.projectKey>poi-parent</sonar.projectKey> <sonar.projectKey>poi-parent</sonar.projectKey>
<sonar.moduleKey>${artifactId}</sonar.moduleKey> <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.host.url>https://sonarcloud.io</sonar.host.url> <sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.jacoco.reportPaths>target/jacoco.exec</sonar.jacoco.reportPaths> <!-- sonar.jacoco.reportPaths>target/jacoco.exec</sonar.jacoco.reportPaths -->
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <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 --> <!-- define some of the third-party or plugin-versions globally to use the same in all modules -->