Update pom for staging plugin 09/1809/1
authorVenkata Harish K Kajur <vk250x@att.com>
Wed, 8 Mar 2017 17:25:12 +0000 (17:25 +0000)
committerVenkata Harish K Kajur <vk250x@att.com>
Wed, 8 Mar 2017 17:25:28 +0000 (17:25 +0000)
Change-Id: Idbe910093964313659db075ccf67ead3ca83d931
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
pom.xml
version.properties

diff --git a/pom.xml b/pom.xml
index 889fbfb..5157b21 100644 (file)
--- a/pom.xml
+++ b/pom.xml
               <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
               <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
               <sonar.projectVersion>${project.version}</sonar.projectVersion>
+               <nexusproxy>https://nexus.openecomp.org</nexusproxy>
        </properties>
 
+       <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>
        <dependencies>
                <dependency>
                        <groupId>org.mockito</groupId>
                   </execution>
              </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>ecomp-staging</serverId>
+               </configuration>
+           </plugin>
+
                </plugins>              
        </build>
        
index 903df0e..7007af0 100644 (file)
@@ -22,8 +22,8 @@
 # Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
 # because they are used in Jenkins, whose plug-in doesn't support
 
-major=0
-minor=9
+major=1
+minor=0
 patch=0
 
 base_version=${major}.${minor}.${patch}