aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Nelson Jr (arthurdent3) <tn1381@att.com>2018-02-15 20:35:40 -0500
committerThomas Nelson Jr (arthurdent3) <tn1381@att.com>2018-02-15 20:35:40 -0500
commit5bc0707087ab2a1e10402bbeaab08430a15ad489 (patch)
tree67b28f9733b1878808b03ce6adc28b7f5955c3f1
parent498f4df4fc98aeb153fb9e82692cd8ed48365c7e (diff)
Adding oparent
Hopefully this should solve all my headaches. Issue-ID: MUSIC-24 Change-Id: Ia0becd349625500fc3d5c416e3934bbf9fde7a92 Signed-off-by: Thomas Nelson Jr (arthurdent3) <tn1381@att.com>
-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>