Adding repositories to pom
[aai/babel.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index fc50e2c..6caa375 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,9 +7,9 @@
                <groupId>com.att.ajsc</groupId>
                <version>2.0.0</version>
        </parent>
-       <groupId>org.onap.aai</groupId>
+       <groupId>org.onap.aai.babel</groupId>
        <artifactId>babel</artifactId>
-       <version>1.0.0-SNAPSHOT</version>
+       <version>2.0.0-SNAPSHOT</version>
 
        <properties>
                <module.ajsc.namespace.name>babel-service</module.ajsc.namespace.name>
@@ -56,6 +56,7 @@
                <sdc.distribution.client.version>1.1.32-SNAPSHOT</sdc.distribution.client.version>
                <snakeyamle.version>1.18</snakeyamle.version>
                <jacoco.version>0.7.9</jacoco.version>
+               <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
        </properties>
 
        <dependencies>
           </dependency>
        </dependencies>
 
+       <repositories>
+           <repository>
+               <id>ecomp-staging</id>
+               <name>ECOMP Staging Repository</name>
+               <url>${onap.nexus.url}/content/repositories/staging/</url>
+           </repository>
+       </repositories>
+
        <build>
                <plugins>
 
                                        </reportPlugins>
                                </configuration>
                        </plugin>
+                       
+                       <plugin>
+                           <groupId>org.sonatype.plugins</groupId>
+                           <artifactId>nexus-staging-maven-plugin</artifactId>
+                           <version>1.6.7</version>
+                           <extensions>true</extensions>
+                           <configuration>
+                               <nexusUrl>${onap.nexus.url}</nexusUrl>
+                               <stagingProfileId>176c31dfe190a</stagingProfileId>
+                               <serverId>ecomp-staging</serverId>
+                           </configuration>
+                       </plugin>
                        <!-- Strong recommendation to use forkCount and reuseForks parameters as forkMode is deprecated since v2.14 -->
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>