diff options
-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
|