[AAI-57] Rename auth to aai-auth and add nexus staging plugin to pom.xml 19/6219/2
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>
Tue, 25 Jul 2017 15:32:41 +0000 (11:32 -0400)
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>
Tue, 25 Jul 2017 15:45:16 +0000 (11:45 -0400)
Change-Id: I17603a5e3baea2d49e8bbfdf00071d8fe68b3dde
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
aai-auth/License.txt [moved from auth/License.txt with 100% similarity]
aai-auth/pom.xml [moved from auth/pom.xml with 75% similarity]
aai-auth/src/main/java/org/openecomp/auth/Auth.java [moved from auth/src/main/java/org/openecomp/auth/Auth.java with 100% similarity]
aai-auth/src/main/java/org/openecomp/auth/AuthCore.java [moved from auth/src/main/java/org/openecomp/auth/AuthCore.java with 100% similarity]
aai-auth/src/main/java/org/openecomp/util/AuthConstants.java [moved from auth/src/main/java/org/openecomp/util/AuthConstants.java with 100% similarity]
pom.xml

similarity index 100%
rename from auth/License.txt
rename to aai-auth/License.txt
similarity index 75%
rename from auth/pom.xml
rename to aai-auth/pom.xml
index b02678e..e4e2b22 100644 (file)
@@ -6,9 +6,9 @@
           <artifactId>aai-common</artifactId>
           <version>1.1.0-SNAPSHOT</version>
         </parent>
-        <artifactId>auth</artifactId>
-        <name>auth</name>
-        <version>0.0.1-SNAPSHOT</version>
+        <artifactId>aai-auth</artifactId>
+        <name>aai-auth</name>
+        <version>1.1.0-SNAPSHOT</version>
 
         <properties>
           <checkstyle.config.location>google_checks.xml</checkstyle.config.location>
                       </reportPlugins>
                     </configuration>
                   </plugin>
-
-                </plugins>
+                  <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>
 
         <distributionManagement>
           </site>
         </distributionManagement>
 
+  <repositories>
+    <repository>
+      <id>AJSC</id>
+      <name>AJSC repository</name>
+      <url>https://mvnrepository.com/artifact/com.att.ajsc</url>
+    </repository>
+    <repository>
+      <id>restlet</id>
+      <name>maven reslet</name>
+      <url>https://maven.restlet.com/</url>
+    </repository>
+    
+    <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-staging</id>
+      <name>ECOMP Staging Repository</name>
+      <url>${nexusproxy}/content/repositories/staging/</url>
+    </repository>
+    <repository>
+      <id>ecomp-snapshots</id>
+      <name>ECOMP Snapshot Repository</name>
+      <url>${nexusproxy}/content/repositories/snapshots/</url>
+    </repository>
+  </repositories>
 </project>
diff --git a/pom.xml b/pom.xml
index 8f74dbd..81ec3d4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
        <module>aai-schema</module>
        <module>aai-annotations</module>
        <module>aai-core</module>
-       <module>auth</module>
+       <module>aai-auth</module>
   </modules>
 
        <properties>