aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Paroulek <pavel.paroulek@orange.com>2019-05-28 15:17:18 +0200
committerPavel Paroulek <pavel.paroulek@orange.com>2019-05-28 15:17:18 +0200
commit139cd0b480e40fe11c5aeb24789c7fe61161b38b (patch)
tree723ced37655d987cfcf8eea512012efbece38a25
parentcd8c4a64f0b6aa74e8190c53bf21924d291b76e0 (diff)
Adding version.properties file
Change-Id: I51b9d922338c0616cd1e42a355fb2379ef375360 Issue-ID: AAI-531 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
-rw-r--r--pom.xml2
-rw-r--r--version.properties14
2 files changed, 15 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 7956e2f..6a49c67 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
<groupId>org.onap.aai.graphgraph</groupId>
<artifactId>graphgraph</artifactId>
- <version>1.0</version>
+ <version>1.5</version>
<properties>
<nexusproxy>https://nexus.onap.org</nexusproxy>
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..b11eaff
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,14 @@
+###########################################################
+# 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_version=1
+minor_version=5
+patch_version=0
+
+base_version=${major_version}.${minor_version}.${patch_version}
+
+# Release must be completed with GIT information # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT