diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-03-08 17:25:12 +0000 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-03-08 17:25:28 +0000 |
commit | 74573bfac95f78bf9ae45ff11512721daadde7cc (patch) | |
tree | 4cf370a95d6102501b59c9d82fbc750d53f67d56 | |
parent | b290acafdc85b7d0b6d2c6ab6de87a89f2852f82 (diff) |
Update pom for staging plugin
Change-Id: Idbe910093964313659db075ccf67ead3ca83d931
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r-- | pom.xml | 25 | ||||
-rw-r--r-- | version.properties | 4 |
2 files changed, 27 insertions, 2 deletions
@@ -40,8 +40,21 @@ <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> @@ -383,6 +396,18 @@ </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> diff --git a/version.properties b/version.properties index 903df0e..7007af0 100644 --- a/version.properties +++ b/version.properties @@ -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} |