aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml13
-rw-r--r--version.properties11
2 files changed, 23 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 6a36d2b..19f9fbf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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