Restore staging repository and plugin. 79/8979/2
authorChristopher Lott (cl778h) <clott@research.att.com>
Mon, 28 Aug 2017 21:10:25 +0000 (17:10 -0400)
committerChristopher Lott (cl778h) <clott@research.att.com>
Mon, 28 Aug 2017 21:34:38 +0000 (17:34 -0400)
Use names releases, staging, snapshots, public (no onap- prefix).

Issue: PORTAL-89
Change-Id: Ie309f1aaa3120de1fa1e82d572174e2c70bb6641
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
ecomp-sdk/epsdk-analytics/pom.xml
ecomp-sdk/epsdk-core/pom.xml
ecomp-sdk/pom.xml

index 6f6ec01..65edad1 100644 (file)
        <url>https://wiki.onap.org/display/DW/Portal</url>
 
        <!-- repositories are inherited from parent -->
-       
-       <build>
-       <plugins>
-       <!--  
-       <plugin>
-                           <groupId>org.codehaus.mojo</groupId>
-                           <artifactId>license-maven-plugin</artifactId>
-                           <version>1.10</version>
-                           <configuration>
-                             <encoding>UTF-8</encoding>
-                               <licenseName>my_license</licenseName>
-                               <licenseResolver>${project.baseUri}/license</licenseResolver>
-                               <inceptionYear>2017</inceptionYear>
-                               <organizationName>AT&amp;T Intellectual Property</organizationName>
-                               <projectName>eCOMP Portal SDK</projectName> 
-                               <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> 
-                               <processStartTag>================================================================================</processStartTag>
-                               <sectionDelimiter>================================================================================</sectionDelimiter>
-                               <processEndTag>================================================================================</processEndTag> 
-                               <roots>
-                                       <root>src/main</root>
-                               </roots>
-                               <excludes>
-                                       <exclude>*.png</exclude>
-                                       <exclude>*.drl</exclude>
-                                       <exclude>*.gif</exclude>
-                                       <exclude>*.jpeg</exclude>
-                                       <exclude>*.jpg</exclude>
-                                       <exclude>*.bmp</exclude>
-                                       <exclude>*.ico</exclude>
-                                       <exclude>*.svg</exclude>
-                               </excludes>
-                           </configuration>
-                           <executions>
-                               <execution>
-                                   <id>first</id>
-                                   <goals>
-                                       <goal>update-file-header</goal>
-                                   </goals>
-                                   <phase>process-sources</phase>
-                               </execution>
-                           </executions>
-                       </plugin>
-                       -->
-       </plugins>
-       </build>
 
        <dependencies>
        
index 1534dec..a2af092 100644 (file)
                                </exclusion>
                        </exclusions>
                </dependency>
-<!--           <dependency>
-                       <groupId>com.att.nsa</groupId>
-                       <artifactId>highlandParkCore</artifactId>
-                       <version>0.3.2</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>log4j</groupId>
-                                       <artifactId>log4j</artifactId>
-                               </exclusion>
-                               <exclusion>
-                                       <groupId>org.slf4j</groupId>
-                                       <artifactId>slf4j-log4j12</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency> -->
                
        </dependencies>
        
index 16ae79b..7f0b583 100644 (file)
                <hibernate.version>4.3.11.Final</hibernate.version>
                <nexusproxy>https://nexus.onap.org</nexusproxy>
                <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
+               <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
                <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
        </properties>
 
        <repositories>
                <repository>
-                       <!-- Releases repository has ECOMP release artifacts -->
-                       <id>ecomp-releases</id>
-                       <name>OpenECOMP - Release Repository</name>
+                       <id>releases</id>
+                       <name>ONAP - Release Repository</name>
                        <url>${nexusproxy}/${releaseNexusPath}</url>
                </repository>
                <repository>
-                       <!-- Snapshots repository has ECOMP snapshot artifacts -->
-                       <id>ecomp-snapshots</id>
-                       <name>OpenECOMP - Snapshot Repository</name>
+                       <id>staging</id>
+                       <name>ONAP - Staging Repository</name>
+                       <url>${nexusproxy}/${stagingNexusPath}</url>
+               </repository>
+               <repository>
+                       <id>snapshots</id>
+                       <name>ONAP - Snapshot Repository</name>
                        <url>${nexusproxy}/${snapshotNexusPath}</url>
                </repository>
                <repository>
-                       <id>ecomp-public</id>
-                       <name>ecomp onap public Repository</name>
+                       <id>public</id>
+                       <name>ONAP public Repository</name>
                        <url>https://nexus.onap.org/content/groups/public</url>
                </repository>
        </repositories>
                                </executions>
                        </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>staging</serverId>
+                               </configuration>
+                       </plugin>
+
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-release-plugin</artifactId>