diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-10-02 11:20:39 -0700 |
---|---|---|
committer | Christopher Lott (cl778h) <clott@research.att.com> | 2017-10-02 15:24:37 -0400 |
commit | 3c795555cc129fbc1b0e1c11d4588316b47ad66e (patch) | |
tree | 9dcbbe13e60a3fb9ab72f901f5260999e7c7f3d9 /pom.xml | |
parent | 7c18602deea3cd59158d6ae3a8894b10c55193a5 (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 'pom.xml')
-rw-r--r-- | pom.xml | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -3,12 +3,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <!--<parent> + <parent> <groupId>org.onap.oparent</groupId> <artifactId>oparent</artifactId> <version>0.1.1</version> <relativePath /> - </parent>--> + </parent> <groupId>org.onap.portal</groupId> <artifactId>onap-portal-parent</artifactId> @@ -34,19 +34,8 @@ <eelf.version>1.0.0</eelf.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <encoding>UTF-8</encoding> - <sonar.language>java</sonar.language> - <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> - <sonar.skipDesign>true</sonar.skipDesign> - <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> - <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> - <sonar.jacoco.itReportPath>${project.basedir}/target/it-jacoco.exec</sonar.jacoco.itReportPath> - <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> - <sonar.projectVersion>${project.version}</sonar.projectVersion> - <sonar.skipDesign>true</sonar.skipDesign> - <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir> - <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions> - <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> - <!--<sonar.java.binaries>.</sonar.java.binaries>--> + <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions> + <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> </properties> <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml @@ -150,11 +139,6 @@ <target>1.8</target> </configuration> </plugin> - <plugin> - <groupId>org.sonarsource.scanner.maven</groupId> - <artifactId>sonar-maven-plugin</artifactId> - <version>3.0.2</version> - </plugin> </plugins> </pluginManagement> <plugins> |