summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml1
-rw-r--r--version.properties13
2 files changed, 14 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index aaf0dc6..b010b5d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@
<groupId>org.onap.holmes.dsa</groupId>
<artifactId>holmes-dsa-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>holmes-dsa-parent</name>
<modules>
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..e2595ba
--- /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=1
+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