Merge "Change Docker image path & building"
diff --git a/pom.xml b/pom.xml
index bcad6b6..50d4cdb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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