diff options
Diffstat (limited to 'mod2')
-rw-r--r-- | mod2/catalog-service/pom.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mod2/catalog-service/pom.xml b/mod2/catalog-service/pom.xml index a9f8d7f..37aaf46 100644 --- a/mod2/catalog-service/pom.xml +++ b/mod2/catalog-service/pom.xml @@ -38,6 +38,7 @@ <maven.compiler.target>${java.version}</maven.compiler.target> <spring-boot.version>2.2.9.RELEASE</spring-boot.version> <dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version> + <docker.image.name>${project.groupId}.${project.artifactId}</docker.image.name> </properties> <dependencies> <dependency> @@ -138,7 +139,7 @@ <version>${dockerfile-maven-plugin.version}</version> <configuration> <contextDirectory>${project.basedir}</contextDirectory> - <repository>onap/${project.groupId}.${project.artifactId}</repository> + <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository> <buildArgs> <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME> <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR> @@ -160,7 +161,7 @@ <goal>push</goal> </goals> <configuration> - <repository>onap/${project.groupId}.${project.artifactId}</repository> + <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository> <tag>latest</tag> <useMavenSettingsForAuth>true</useMavenSettingsForAuth> </configuration> @@ -173,7 +174,7 @@ <goal>push</goal> </goals> <configuration> - <repository>onap/${project.groupId}.${project.artifactId}</repository> + <repository>${onap.nexus.dockerregistry.daily}/${docker.image.name}</repository> <tag>${project.version}</tag> <useMavenSettingsForAuth>true</useMavenSettingsForAuth> </configuration> |