diff options
-rw-r--r-- | pom.xml | 3 | ||||
-rw-r--r-- | version.properties | 6 |
2 files changed, 8 insertions, 1 deletions
@@ -54,6 +54,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> @@ -144,7 +145,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 |