diff options
author | Manoop Talasila <talasila@research.att.com> | 2017-10-02 22:05:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-02 22:05:05 +0000 |
commit | b415db2e304f285c620e6084d29eda66988fd625 (patch) | |
tree | 3df7dcf5ef65fac245eabb5893f510719b05c7c4 /ecomp-portal-BE-os | |
parent | 89cce2a7c0f8becfaf4600b7a165b6168e51a94f (diff) | |
parent | 3c795555cc129fbc1b0e1c11d4588316b47ad66e (diff) |
Merge "Enable sonar code coverage with oparent"
Diffstat (limited to 'ecomp-portal-BE-os')
-rw-r--r-- | ecomp-portal-BE-os/pom.xml | 72 |
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> |