Sonar Maven: Revert previous changes as they also did not work, it seems there is no way to get a Sonar Maven build this way :(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b98bfd48aa
commit
892e01b656
@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
<name>Apache POI Examples package</name>
|
<name>Apache POI Examples package</name>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<!-- specify actual source directory as otherwise Sonar-plugin will fail during SVN checks -->
|
|
||||||
<sonar.sources>${basedir}/../../src/examples/src</sonar.sources>
|
|
||||||
<!-- tests are automatically found in Maven -->
|
|
||||||
</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! -->
|
||||||
|
@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
<name>Apache POI ExcelAnt package</name>
|
<name>Apache POI ExcelAnt package</name>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<!-- specify actual source directory as otherwise Sonar-plugin will fail during SVN checks -->
|
|
||||||
<sonar.sources>${basedir}/../../src/excelant/java</sonar.sources>
|
|
||||||
<!-- tests are automatically found in Maven -->
|
|
||||||
</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! -->
|
||||||
|
@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
<name>Apache POI Main package</name>
|
<name>Apache POI Main package</name>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<!-- specify actual source directory as otherwise Sonar-plugin will fail during SVN checks -->
|
|
||||||
<sonar.sources>${basedir}/../../src/java</sonar.sources>
|
|
||||||
<!-- tests are automatically found in Maven -->
|
|
||||||
</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! -->
|
||||||
|
@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
<name>Apache POI OOXML package</name>
|
<name>Apache POI OOXML package</name>
|
||||||
|
|
||||||
<properties>
|
|
||||||
<!-- specify actual source directory as otherwise Sonar-plugin will fail during SVN checks -->
|
|
||||||
<sonar.sources>${basedir}/../../src/ooxml/java</sonar.sources>
|
|
||||||
<!-- tests are automatically found in Maven -->
|
|
||||||
</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! -->
|
||||||
|
@ -14,13 +14,11 @@
|
|||||||
<name>Apache POI Scratchpad package</name>
|
<name>Apache POI Scratchpad package</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- specify actual source directory as otherwise Sonar-plugin will fail during SVN checks -->
|
|
||||||
<sonar.sources>${basedir}/../../src/scratchpad/examples,${basedir}/../../src/scratchpad/src</sonar.sources>
|
|
||||||
<!-- tests are automatically found in Maven -->
|
|
||||||
<!-- Exclude some generated code from Sonar analysis -->
|
<!-- Exclude some generated code from Sonar analysis -->
|
||||||
<sonar.exclusions>src/main/java/org/apache/poi/hwpf/model/types/*,src/main/java/org/apache/poi/hdf/model/hdftypes/definitions/*</sonar.exclusions>
|
<sonar.exclusions>src/main/java/org/apache/poi/hwpf/model/types/*,src/main/java/org/apache/poi/hdf/model/hdftypes/definitions/*</sonar.exclusions>
|
||||||
</properties>
|
</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! -->
|
||||||
|
Loading…
Reference in New Issue
Block a user