summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-os
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-10-02 11:20:39 -0700
committerChristopher Lott (cl778h) <clott@research.att.com>2017-10-02 15:24:37 -0400
commit3c795555cc129fbc1b0e1c11d4588316b47ad66e (patch)
tree9dcbbe13e60a3fb9ab72f901f5260999e7c7f3d9 /ecomp-portal-BE-os
parent7c18602deea3cd59158d6ae3a8894b10c55193a5 (diff)
Enable sonar code coverage with oparent
Remove commented-out property sonar.java.binaries. Change-Id: I14f0597e472b387d48abc2cb1e55777a2fa55708 Issue-ID: PORTAL-50 Signed-off-by: Gary Wu <gary.i.wu@huawei.com> Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'ecomp-portal-BE-os')
-rw-r--r--ecomp-portal-BE-os/pom.xml72
1 files changed, 0 insertions, 72 deletions
diff --git a/ecomp-portal-BE-os/pom.xml b/ecomp-portal-BE-os/pom.xml
index 7807091c..901f6841 100644
--- a/ecomp-portal-BE-os/pom.xml
+++ b/ecomp-portal-BE-os/pom.xml
@@ -23,11 +23,6 @@
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>3.2</version>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.6</version>
@@ -40,73 +35,6 @@
</dependencies>
</plugin>
<plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.6.201602180812</version>
- <inherited>True</inherited>
- <executions>
- <!-- Unit-Tests -->
- <execution>
- <id>prepare-agent</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <skipTests>false</skipTests>
- <destFile>${sonar.jacoco.reportPath}</destFile>
- </configuration>
- </execution>
- <execution>
- <id>default-instrument</id>
- <goals>
- <goal>instrument</goal>
- </goals>
- <configuration>
- <skipTests>false</skipTests>
- </configuration>
- </execution>
- <execution>
- <id>default-restore-instrumented-classes</id>
- <phase>test</phase>
- <goals>
- <goal>restore-instrumented-classes</goal>
- </goals>
- <configuration>
- <skipTests>false</skipTests>
- </configuration>
- </execution>
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
-
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <skipTests>false</skipTests>
- <dataFile>${sonar.jacoco.reportPath}</dataFile>
- <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
- </configuration>
- </execution>
- <!-- Will see build errors while running the test cases because of dual
- instrumentation -->
-
- <!-- Integration Tests (Only report goal) -->
- <execution>
- <id>report-integration</id>
- <phase>test</phase>
- <goals>
- <goal>report-integration</goal>
- </goals>
- <configuration>
- <skipTests>false</skipTests>
- <dataFile>${sonar.jacoco.itReportPath}</dataFile>
- <outputDirectory>${project.basedir}/target/site/it-jacoco</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>