Update pom files in aaf client 47/8747/1
authorsg481n <sg481n@att.com>
Fri, 25 Aug 2017 05:29:57 +0000 (01:29 -0400)
committersg481n <sg481n@att.com>
Fri, 25 Aug 2017 05:30:02 +0000 (01:30 -0400)
Pom files updates with distribution management
and repositories.

Issue-id : AAF-21
Change-Id: I4d51e6b922ccacc375c02e67aadf1fd4b4865ce1
Signed-off-by: sg481n <sg481n@att.com>
authz-client/pom.xml
pom.xml

index f236395..10ba88a 100644 (file)
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
                <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>\r
                <maven.test.failure.ignore>true</maven.test.failure.ignore>\r
+               <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
+        <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
        </properties>\r
        \r
        <dependencies>\r
                        </execution>\r
                      </executions>\r
                    </plugin>\r
-       \r
+        <plugin>\r
+                               <groupId>org.sonatype.plugins</groupId>\r
+                               <artifactId>nexus-staging-maven-plugin</artifactId>\r
+                               <version>1.6.7</version>\r
+                               <extensions>true</extensions>\r
+                               <configuration>\r
+                                       <nexusUrl>${nexusproxy}</nexusUrl>\r
+                                       <stagingProfileId>176c31dfe190a</stagingProfileId>\r
+                                       <serverId>ecomp-staging</serverId>\r
+                               </configuration>\r
+                       </plugin> \r
                        </plugins>\r
        </build>\r
        \r
+       <distributionManagement>\r
+               <repository>\r
+                       <id>ecomp-releases</id>\r
+                       <name>AAF Release Repository</name>\r
+                       <url>${nexusproxy}${releaseNexusPath}</url>\r
+               </repository>\r
+               <snapshotRepository>\r
+                       <id>ecomp-snapshots</id>\r
+                       <name>AAF Snapshot Repository</name>\r
+                       <url>${nexusproxy}${snapshotNexusPath}</url>\r
+               </snapshotRepository>\r
+               <site>\r
+                       <id>ecomp-site</id>\r
+                       <url>dav:${nexusproxy}${sitePath}</url>\r
+               </site>\r
+       </distributionManagement>\r
+<pluginRepositories>\r
+        <pluginRepository>\r
+            <id>onap-plugin-snapshots</id>\r
+            <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
+        </pluginRepository>\r
+    </pluginRepositories>\r
        \r
+       <repositories>\r
+               <repository>\r
+                       <id>central</id>\r
+                       <name>Maven 2 repository 2</name>\r
+                       <url>http://repo2.maven.org/maven2/</url>\r
+               </repository>\r
+               <repository>\r
+            <id>onap-jar-snapshots</id>\r
+            <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
+        </repository>\r
+               <repository>\r
+                       <id>spring-repo</id>\r
+                       <name>Spring repo</name>\r
+                       <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
+               </repository>\r
+               <repository>\r
+                       <id>repository.jboss.org-public</id>\r
+                       <name>JBoss.org Maven repository</name>\r
+                       <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
+               </repository>\r
+       </repositories>\r
 \r
 </project>\r
 \r
diff --git a/pom.xml b/pom.xml
index d657a27..5caa668 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
                <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
                <project.dme2Version>3.1.200</project.dme2Version>
+                       <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
+               <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
        </properties>
 
        <build>
                                  </formats>
                                </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>
                </pluginManagement>                     
                </dependencies>
        </dependencyManagement>
 
+<distributionManagement>
+               <repository>
+                       <id>ecomp-releases</id>
+                       <name>AAF Release Repository</name>
+                       <url>${nexusproxy}${releaseNexusPath}</url>
+               </repository>
+               <snapshotRepository>
+                       <id>ecomp-snapshots</id>
+                       <name>AAF Snapshot Repository</name>
+                       <url>${nexusproxy}${snapshotNexusPath}</url>
+               </snapshotRepository>
+               <site>
+                       <id>ecomp-site</id>
+                       <url>dav:${nexusproxy}${sitePath}</url>
+               </site>
+       </distributionManagement>
+<pluginRepositories>
+        <pluginRepository>
+            <id>onap-plugin-snapshots</id>
+            <url>https://nexus.onap.org/content/repositories/snapshots/</url>
+        </pluginRepository>
+    </pluginRepositories>
        
+       <repositories>
+               <repository>
+                       <id>central</id>
+                       <name>Maven 2 repository 2</name>
+                       <url>http://repo2.maven.org/maven2/</url>
+               </repository>
+               <repository>
+            <id>onap-jar-snapshots</id>
+            <url>https://nexus.onap.org/content/repositories/snapshots</url>
+        </repository>
+               <repository>
+                       <id>spring-repo</id>
+                       <name>Spring repo</name>
+                       <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
+               </repository>
+               <repository>
+                       <id>repository.jboss.org-public</id>
+                       <name>JBoss.org Maven repository</name>
+                       <url>https://repository.jboss.org/nexus/content/groups/public</url>
+               </repository>
+       </repositories> 
 </project>