diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-02-01 03:30:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-02-01 03:30:56 +0000 |
commit | c3d1f2fe7786dac58a6f1bdd435fe7615cda9ff6 (patch) | |
tree | 3184215be28ca2ed2d50faa3e4364c918196620d | |
parent | 4751cb9d3db83a1e54d078c9b3416d6f3fb76494 (diff) | |
parent | c4b59c469603b044ed75b5418e9b10e5b99dcbcc (diff) |
Merge "Change Docker image path & building"
-rw-r--r-- | pom.xml | 3 | ||||
-rw-r--r-- | version.properties | 6 |
2 files changed, 8 insertions, 1 deletions
@@ -55,6 +55,7 @@ <dockerfile.version>1.4.10</dockerfile.version> <surefire.version>2.22.0</surefire.version> <!-- Plugin Settings --> + <image-name>${docker.push.registry}/onap/${project.groupId}.${project.artifactId}</image-name> <sonar.language>java</sonar.language> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> @@ -157,7 +158,7 @@ <artifactId>dockerfile-maven-plugin</artifactId> <version>${dockerfile.version}</version> <configuration> - <repository>${docker.push.registry}/${project.artifactId}</repository> + <repository>${image-name}</repository> <tag>${project.version}</tag> <dockerfile>${project.build.outputDirectory}/Dockerfile</dockerfile> <buildArgs> diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..32acbf9 --- /dev/null +++ b/version.properties @@ -0,0 +1,6 @@ +major=1 +minor=0 +patch=0 +base_version=${major}.${minor}.${patch} +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT
\ No newline at end of file |