Add maven staging plugin and repo info
[aai/sparky-be.git] / 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>