diff options
author | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-02-25 15:06:00 +0530 |
---|---|---|
committer | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-02-25 15:07:05 +0530 |
commit | e3efc9f015b8bd8bf384c5d476272c0e42def34a (patch) | |
tree | dd6e5def06cb680a44ab951db04f7773c9676243 | |
parent | 8e190590e536242e7d646e2f2b67ba3697599e3b (diff) |
mso-cnf-adapter changes for docker tag name
Issue-ID: SO-3518
Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Change-Id: Ibaa2b7017216c79664177020b7c4997fa5174af6
-rw-r--r-- | pom.xml | 41 |
1 files changed, 23 insertions, 18 deletions
@@ -136,21 +136,25 @@ </dependencies> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>versions-maven-plugin</artifactId> - <version>1.3.1</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> - <execution> - <id>docker-build</id> - <phase>install</phase> - <goals> - <goal>exec</goal> - </goals> - <configuration> + <groupId>com.spotify</groupId> + <artifactId>dockerfile-maven-plugin</artifactId> + <version>1.4.3</version> + <dependencies> + <dependency> + <groupId>javax.activation</groupId> + <artifactId>activation</artifactId> + <version>1.1.1</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>docker-build</id> + <goals> + <goal>build</goal> + </goals> + </execution> + </executions> + <configuration> <dockerFile>Dockerfile</dockerFile> <executable>docker</executable> <workingDirectory>${project.basedir}</workingDirectory> @@ -164,10 +168,10 @@ <JAR_FILE>${project.artifactId}-${project.version}.jar</JAR_FILE> <ARTIFACT_ID>${project.artifactId}</ARTIFACT_ID> </buildArgs> + <repository>${project.artifactId}</repository> + <tag>${project.version}</tag> </configuration> - </execution> - </executions> - </plugin> + </plugin> </plugins> </build> <dependencies> @@ -212,3 +216,4 @@ </dependency> </dependencies> </project> + |