Add new BOM for odl-based projects
[ccsdk/parent.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 78ab36e..46c88fd 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
 
@@ -7,7 +8,7 @@
     <packaging>pom</packaging>
     <groupId>org.onap.ccsdk.parent</groupId>
     <artifactId>parent</artifactId>
-    <version>1.1.1-SNAPSHOT</version>
+    <version>1.3.0-SNAPSHOT</version>
     <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
 
     <properties>
         </snapshotRepository>
     </distributionManagement>
 
+    <profiles>
+        <profile>
+            <id>nexus-staging</id>
+            <activation>
+                <property>
+                    <name>!altDeploymentRepository</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <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>176c31dfe190a</stagingProfileId>
+                            <serverId>ecomp-staging</serverId>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
     <build>
         <plugins>
             <plugin>
                     <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>
-       <module>springboot</module>
+        <module>dependencies-bom</module>
+        <module>dependencies-odl-bom</module>
+        <module>standalone</module>
+        <module>odlparent</module>
+        <module>springboot</module>
     </modules>
 
 </project>