Add maven staging plugin and repo info 71/46671/1
authorJimmy Forsyth <jf2512@att.com>
Tue, 8 May 2018 17:47:03 +0000 (13:47 -0400)
committerJimmy Forsyth <jf2512@att.com>
Tue, 8 May 2018 17:47:07 +0000 (13:47 -0400)
Issue-ID: AAI-1127
Change-Id: Iec05802057a66416b5da1c8b4c49e5b98f0a926e
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index c869787..bbb85d4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                        <skip>true</skip>
                                </configuration>
                        </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>
        </build>
        
-</project>
\ No newline at end of file
+    <distributionManagement>
+       <repository>
+          <id>ecomp-releases</id>
+          <name>ECOMP Release Repository</name>
+          <url>${nexusproxy}/content/repositories/releases/</url>
+       </repository>
+       <snapshotRepository>
+          <id>ecomp-snapshots</id>
+          <name>ECOMP Snapshot Repository</name>
+          <url>${nexusproxy}/content/repositories/snapshots/</url>
+      </snapshotRepository>
+   </distributionManagement>
+
+    <repositories>
+        <repository>
+            <id>central</id>
+            <name>Maven 2 repository 2</name>
+            <url>http://repo2.maven.org/maven2/</url>
+        </repository>
+        <repository>
+            <id>ecomp-releases</id>
+            <name>ECOMP Release Repository</name>
+            <url>${nexusproxy}/content/repositories/releases/</url>
+        </repository>
+        <repository>
+            <id>ecomp-snapshots</id>
+            <name>ECOMP Snapshot Repository</name>
+            <url>${nexusproxy}/content/repositories/snapshots/</url>
+        </repository>
+        <repository>
+            <id>ecomp-staging</id>
+            <name>ECOMP Staging Repository</name>
+            <url>${nexusproxy}/content/repositories/staging/</url>
+        </repository>
+
+    </repositories>
+       
+</project>