summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-03-08 17:25:12 +0000
committerVenkata Harish K Kajur <vk250x@att.com>2017-03-08 17:25:28 +0000
commit74573bfac95f78bf9ae45ff11512721daadde7cc (patch)
tree4cf370a95d6102501b59c9d82fbc750d53f67d56
parentb290acafdc85b7d0b6d2c6ab6de87a89f2852f82 (diff)
Update pom for staging plugin
Change-Id: Idbe910093964313659db075ccf67ead3ca83d931 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--pom.xml25
-rw-r--r--version.properties4
2 files changed, 27 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 889fbfb..5157b21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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}