Update to version 0.2.4
[ccsdk/parent.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 8c16f88..a71d7ba 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -7,20 +7,49 @@
     <packaging>pom</packaging>
     <groupId>org.onap.ccsdk.parent</groupId>
     <artifactId>parent</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>1.0.4-SNAPSHOT</version>
     <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
 
+    <properties>
+        <onap.nexus.host>nexus.onap.org</onap.nexus.host>
+        <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
+        <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
+    </properties>
+
     <distributionManagement>
         <repository>
             <id>ecomp-releases</id>
-            <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-releases/</url>
+            <url>http://nexus.onap.org/content/repositories/releases</url>
         </repository>
         <snapshotRepository>
             <id>ecomp-snapshots</id>
-            <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-snapshots/</url>
+            <url>http://nexus.onap.org/content/repositories/snapshots</url>
         </snapshotRepository>
     </distributionManagement>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>versions-maven-plugin</artifactId>
+                <version>2.5</version>
+                <configuration>
+                    <processAllModules>true</processAllModules>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <version>1.6.7</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <nexusUrl>https://${onap.nexus.host}</nexusUrl>
+                    <stagingProfileId>${onap.nexus.staging.profile-id}</stagingProfileId>
+                    <serverId>${onap.nexus.staging.server-id}</serverId>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
     <modules>
        <module>odlparent</module>
     </modules>