summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml2
-rw-r--r--version.properties12
2 files changed, 13 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 595bbe7..474e7f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@ under the License.
<sonar.skip>false</sonar.skip>
<sonar.exclusions>version.py,setup.py</sonar.exclusions>
- <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
<docker.push.registry></docker.push.registry>
<skip.docker.build>true</skip.docker.build>
<skip.docker.tag>true</skip.docker.tag>
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..2fb9e44
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,12 @@
+# 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_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT