aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rwxr-xr-xpom.xml54
1 files changed, 11 insertions, 43 deletions
diff --git a/pom.xml b/pom.xml
index 04c36a4f..c4617e02 100755
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,12 @@
<description>
This is the MUSIC REST interface, packaged as a war file.
</description>
+<parent>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>oparent</artifactId>
+ <version>0.1.1</version>
+ <relativePath/>
+</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jersey1.version>1.9</jersey1.version>
@@ -44,13 +50,6 @@
<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
<stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
<sitePath>/content/sites/site/org/openecomp/music/${project.version}</sitePath>
- <!-- SONAR -->
- <sonar.language>java</sonar.language>
- <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
- <sonar.jacoco.reportPaths>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPaths>
- <sonar.junit.reportPaths>${project.build.directory}/coverage-reports/jacoco.exec</sonar.junit.reportPaths>
- <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
- <sonar.projectVersion>${project.version}</sonar.projectVersion>
</properties>
<repositories>
@@ -70,6 +69,11 @@
<name>Staging Repository</name>
<url>${nexusproxy}/${stagingNexusPath}</url>
</repository>
+ <repository>
+ <id>onap-snapshots</id>
+ <name>ONAP Snapshot Repository</name>
+ <url>http://nexus.onap.org/content/repositories/snapshots</url>
+ </repository>
</repositories>
<distributionManagement>
<repository>
@@ -197,43 +201,7 @@
</execution>
</executions>
</plugin>
- <!-- Sonar Plugin for Sonar Scans -->
- <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.0.201403182114</version>
- <executions>
- <execution>
- <id>jacoco-initialize-unit-tests</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <destFile>${sonar.jacoco.reportPath}</destFile>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <dumpOnExit>true</dumpOnExit>
- <includes>
- <include>org.openecomp.*</include>
- </includes>
- </configuration>
- </plugin>
- <!-- Maven surefire plugin for testing -->
- <!--
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.17</version>
- </plugin>
- -->
</plugins>
</build>