aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core/pom.xml
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-05-12 16:48:35 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-05-12 16:49:38 -0400
commit96bf8c7b86bbf3350edcedcd19ad4dff97e62bb7 (patch)
treec7a20b38044e03e36512fb517922038a4aaa4656 /aai-core/pom.xml
parent3edff944047a20881c5d5e485e4752be456ef516 (diff)
Update license files, sonar plugin and fix tests
Change-Id: If25f0890de84b4a6a001fd669de3d6e0241a474c Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/pom.xml')
-rw-r--r--aai-core/pom.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/aai-core/pom.xml b/aai-core/pom.xml
index 0f07623f..0300087c 100644
--- a/aai-core/pom.xml
+++ b/aai-core/pom.xml
@@ -14,6 +14,12 @@
<aai-schema.version>1.1.0-SNAPSHOT</aai-schema.version>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<sitePath>/content/sites/site/${project.artifactId}/${project.version}</sitePath>
+ <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>
</properties>
<dependencies>
<dependency>
@@ -318,6 +324,31 @@
<build>
<plugins>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.7.7.201606060606</version>
+ <configuration>
+ <dumpOnExit>true</dumpOnExit>
+ </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>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.6</version>