Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem that the docker-maven-plugin plug-in cannot pull the corresponding jar package

Shulou Source: shulou.com Published: 2022-06-03 09:23:28 10月03日 Update

This article will explain in detail how to solve the problem that the docker-maven-plugin plug-in can not pull the corresponding jar package. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

When using the docker-maven-plugin plug-in, maven cannot pull the corresponding jar package. The following problems occurred:

Maven version:

Image repository configuration:

Alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central

Modify the docker-maven-plugin plug-in version to: 0.4.13 is normal

Com.spotify docker-maven-plugin 0.4.13 itmuch/microservice-discovery-eureka:0.0.1 ["java", "- version"] ["java", "- jar" "${project.build.finalName} .jar"] / ${project.build.directory} ${project.build.finalName} .jar This is the end of the article on "how to solve the problem that the docker-maven-plugin plugin cannot pull the corresponding jar package". Hope that the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Tags: Plug-ins questions Farah articles more versions good practical repositories content articles knowledge mirrors references help related configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info Docker Apple Microsoft