Update cacher pom for merge issue 95/66195/1
authorLaMont, William (wl2432) <wl2432@att.com>
Wed, 12 Sep 2018 18:25:57 +0000 (14:25 -0400)
committerLaMont, William (wl2432) <wl2432@att.com>
Wed, 12 Sep 2018 18:26:26 +0000 (14:26 -0400)
Issue-ID: AAI-1415
Change-Id: I78b873abe03ab472894636b8d805113b6271a033
Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 4850a39..7ff4efd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
 
-       <groupId>org.onap.aai</groupId>
+       <groupId>org.onap.aai.cacher</groupId>
        <artifactId>aai-cacher</artifactId>
        <version>1.0.0-SNAPSHOT</version>
 
     <parent>
         <groupId>org.onap.oparent</groupId>
         <artifactId>oparent</artifactId>
-        <version>1.1.0</version>
+        <version>1.2.0</version>
     </parent>
 
        <properties>
                <service.account>aai-svc-account</service.account>
                <docker.namespace>openecomp</docker.namespace>
                
-        <license.goal.type>check</license.goal.type>           
+        <license.goal.type>check</license.goal.type>
+        
+        <!--
+            Nexus Proxy Properties and Snapshot Locations
+            Ideally this can be overwritten at runtime per internal environment specific values at runtime
+        -->
+        <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <site.path>/content/sites/site/org/onap/aai/cacher/${project.artifactId}/${project.version}</site.path>
+        <release.path>/content/repositories/releases/</release.path>
+        <snapshot.path>/content/repositories/snapshots/</snapshot.path>                        
                
                <start-class>org.onap.aai.cacher.Application</start-class>              
                
         </dependency>              
        </dependencies>
                <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-deploy-plugin</artifactId>
+                    <executions>
+                        <execution>
+                            <id>default-deploy</id>
+                            <phase>none</phase>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.sonatype.plugins</groupId>
+                    <artifactId>nexus-staging-maven-plugin</artifactId>
+                    <version>1.6.7</version>
+                    <extensions>true</extensions>
+                    <configuration>
+                        <nexusUrl>${nexusproxy}</nexusUrl>
+                        <stagingProfileId>176c31dfe190a</stagingProfileId>
+                        <serverId>ecomp-staging</serverId>
+                    </configuration>
+                </plugin>                                
+            </plugins>
+        </pluginManagement>                                                    
                <plugins>
                        <plugin>
                                <artifactId>maven-dependency-plugin</artifactId>
                        </resource>
         </resources>        
        </build>
+    <distributionManagement>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <name>ECOMP Snapshot Repository</name>
+            <url>${onap.nexus.url}/content/repositories/snapshots/</url>
+        </snapshotRepository>
+        <site>
+            <id>ecomp-site</id>
+            <url>dav:${onap.nexus.url}${sitePath}</url>
+        </site>
+    </distributionManagement>  
     <!-- Start of ONAP Specific Repositories -->
     <repositories>
         <repository>