Adding oparent 91/31891/1
authorThomas Nelson Jr (arthurdent3) <tn1381@att.com>
Fri, 16 Feb 2018 01:35:40 +0000 (20:35 -0500)
committerThomas Nelson Jr (arthurdent3) <tn1381@att.com>
Fri, 16 Feb 2018 01:35:40 +0000 (20:35 -0500)
Hopefully this should solve all my headaches.

Issue-ID: MUSIC-24

Change-Id: Ia0becd349625500fc3d5c416e3934bbf9fde7a92
Signed-off-by: Thomas Nelson Jr (arthurdent3) <tn1381@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 04c36a4..c4617e0 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
        <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>
                <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>
                        <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>
                                        </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>