summaryrefslogtreecommitdiffstats
path: root/aai-schema-service
diff options
context:
space:
mode:
authorjimmy <jf2512@att.com>2020-02-18 09:52:02 -0500
committerjimmy <jf2512@att.com>2020-02-18 09:52:05 -0500
commitd911dea6146b1410d6b47b8357a905f451b85194 (patch)
tree9d354a93ac2c55205f9a326086ee4fd039b844d6 /aai-schema-service
parent5a0a21b3908e146810a992c575cf0fed102cfeb8 (diff)
Fix sonar settings
Issue-ID: AAI-2793 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I32c3e51ae4812e8333a166694b58dca6d4e4721e
Diffstat (limited to 'aai-schema-service')
-rw-r--r--aai-schema-service/pom.xml76
1 files changed, 1 insertions, 75 deletions
diff --git a/aai-schema-service/pom.xml b/aai-schema-service/pom.xml
index b47300b..32b1b2b 100644
--- a/aai-schema-service/pom.xml
+++ b/aai-schema-service/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>org.onap.aai.schema-service</groupId>
<artifactId>schema-service</artifactId>
- <version>1.6.3-SNAPSHOT</version>
+ <version>1.6.4-SNAPSHOT</version>
</parent>
<groupId>org.onap.aai.schema-service</groupId>
<artifactId>aai-schema-service</artifactId>
@@ -34,15 +34,6 @@
<java.version>1.8</java.version>
<start-class>org.onap.aai.schemaservice.SchemaServiceApp</start-class>
- <!-- Start of the jacoco plugin properties -->
- <sonar.language>java</sonar.language>
- <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
- <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
- <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
- <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
- <sonar.projectVersion>${project.version}</sonar.projectVersion>
- <!-- End of the jacoco plugin properties -->
-
<docker.fabric.version>0.28.0</docker.fabric.version>
<!-- Default docker registry that maven fabric plugin will try to pull from -->
<docker.registry>docker.io</docker.registry>
@@ -637,9 +628,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.12.4</version>
<configuration>
- <argLine>-noverify ${argLine}</argLine>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
@@ -648,69 +637,6 @@
<artifactId>license-maven-plugin</artifactId>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>3.3</version>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.9</version>
- <configuration>
- <dumpOnExit>true</dumpOnExit>
- <excludes>
- <exclude>**/**/models/**/*.class</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <id>jacoco-initialize-unit-tests</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
- <!-- <append>true</append> -->
- </configuration>
- </execution>
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>default-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
- <rules>
- <!-- implementation is needed only for Maven 2 -->
- <rule implementation="org.jacoco.maven.RuleConfiguration">
- <element>BUNDLE</element>
- <limits>
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>LINE</counter>
- <value>COVEREDRATIO</value>
- <minimum>${jacoco.line.coverage.limit}</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>