diff options
author | ml636r <ml636r@att.com> | 2017-02-23 14:46:45 +0200 |
---|---|---|
committer | ml636r <ml636r@att.com> | 2017-02-23 14:46:45 +0200 |
commit | e58551874f13163de28182d687693f37e20a46ad (patch) | |
tree | 2b17848e8d5089007f9f402dda7d243d7dd0d6d5 | |
parent | 054e567440b5ff1f859620e3ebcb0cdcbdd3b652 (diff) |
Added staging and version.properties
Change-Id: I31c4c750715f9b9e50d3587416e2d8e78d4e6738
Signed-off-by: ml636r <ml636r@att.com>
-rw-r--r-- | pom.xml | 20 | ||||
-rw-r--r-- | version.properties | 13 |
2 files changed, 29 insertions, 4 deletions
@@ -10,13 +10,11 @@ <httpclient.version>4.5</httpclient.version> <httpcore.version>4.4.1</httpcore.version> <snakeyaml.version>1.14</snakeyaml.version> -<!-- <sonar.login>sonaruser</sonar.login> - <sonar.password>us7USi0Htu93nFY91DPuQLFo6ebKcKXv</sonar.password> - <sonar.host.url>http://104.239.145.8:9000</sonar.host.url> <sonar.skipDesign>true</sonar.skipDesign> <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir> - <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> --> + <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> <nexus.proxy>https://nexus.openecomp.org</nexus.proxy> + <staging.profile.id>176c31dfe190a</staging.profile.id> </properties> <reporting> @@ -189,6 +187,19 @@ </executions> </plugin> + <!-- Staging Plugin --> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <nexusUrl>${nexus.proxy}</nexusUrl> + <stagingProfileId>${staging.profile.id}</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> @@ -273,3 +284,4 @@ </distributionManagement> </project> + diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..bf3f0bf --- /dev/null +++ b/version.properties @@ -0,0 +1,13 @@ +########################################################### +# Versioning variables +# 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=1 +minor=0 +patch=0 + +base_version=${major}.${minor}.${patch} + +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT |