Remove snapshot reference to sdc client
[aai/babel.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index fc50e2c..5f268fb 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>
@@ -39,7 +39,7 @@
                <testRouteOffer>workstation</testRouteOffer>
                <testEnv>DEV</testEnv>
                <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
-               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <sitePath>/content/sites/site/org/onap/aai/babel/${project.artifactId}/${project.version}</sitePath>
 
                <!-- Dependency Versions -->
                <aai.artifact.generator.version>1.1.0</aai.artifact.generator.version>
                <logback.version>1.1.9</logback.version>
                <mockito.version>1.10.19</mockito.version>
                <powermock.version>1.6.2</powermock.version>
-               <sdc.distribution.client.version>1.1.32-SNAPSHOT</sdc.distribution.client.version>
+               <sdc.distribution.client.version>1.1.32</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>
+               <docker.location>${basedir}/target</docker.location>
        </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>
+
+       <distributionManagement>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>ECOMP Release Repository</name>
+                       <url>${onap.nexus.url}/content/repositories/releases/</url>
+               </repository>
+               <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>
+
        <build>
                <plugins>
 
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>com.spotify</groupId>
+                               <artifactId>docker-maven-plugin</artifactId>
+                               <version>0.4.11</version>
+                               <configuration>
+                                       <verbose>true</verbose>
+                                       <serverId>docker-hub</serverId>
+                                       <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
+                                       <dockerDirectory>${docker.location}</dockerDirectory>
+                                       <imageTags>
+                               <imageTag>latest</imageTag>
+                                       </imageTags>
+                                       <forceTags>true</forceTags>
+                               </configuration>
+                       </plugin>
 
                        <!-- license plugin -->
                        <plugin>
                                        </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>