diff options
author | Ubuntu <lji@research.att.com> | 2017-02-23 02:58:37 +0000 |
---|---|---|
committer | Ubuntu <lji@research.att.com> | 2017-02-23 02:58:37 +0000 |
commit | 47c63f05a06da285a1b6d772e5907f718ca5184c (patch) | |
tree | 2aeb220cae094c4c5acc83df821a38e4ccf5512a | |
parent | 0de2386d38156d8b9a42b379f4791a7fd9cef469 (diff) |
version and staging
Change-Id: I633dad1076989eed8fc73dc2c3f83392d161c6eb
Signed-off-by: Ubuntu <lji@research.att.com>
-rw-r--r-- | pom.xml | 13 | ||||
-rw-r--r-- | version.properties | 11 |
2 files changed, 23 insertions, 1 deletions
@@ -6,7 +6,7 @@ <groupId>org.openecomp.dcae.inventory</groupId> <artifactId>dcae-inventory</artifactId> - <version>1.0.0</version> + <version>1.0.0-SNAPSHOT</version> <properties> <dropwizard.version>0.9.2</dropwizard.version> @@ -342,6 +342,17 @@ <artifactId>sonar-maven-plugin</artifactId> <version>3.2</version> </plugin> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <serverId>ecomp-staging</serverId> + <nexusUrl>${nexusproxy}</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + </configuration> + </plugin> </plugins> </build> diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..35d03a3 --- /dev/null +++ b/version.properties @@ -0,0 +1,11 @@ +# 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 must be completed with git revision # in Jenkins
+
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT
|