Docker打包错误:Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project security
2023-09-14 08:57:05 时间
Failed to execute goal com.spotify:docker-maven-plugin:1.2.0:build (default-cli) on project security: Exception caught
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <version>1.0.0</version> <configuration> <imageName>${docker.image.prefix}/${project.artifactId}</imageName> <!-- Dockerfile的地址 --> <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory> <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}</directory> <include>${project.build.finalName}.jar</include> </resource> </resources> </configuration> </plugin> </plugins> </build>
解决:
把 <version>1.2.0</version> 改为 <version>1.0.0</version>
相关文章
- Docker启动MariaDB
- Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap
- Docker快速入门
- docker 常用命令
- docker安装postgresql
- SpringCloud+Docker+Jenkins+GitLab+Maven实现自动化构建与部署实战
- Docker 快速部署 Slurm 集群
- maven阿里云仓库配置_阿里docker仓库
- Docker - docker-compose方式搭建高效的开发环境
- Docker安装docker-compose插件
- 【非docker-compose】docker下安装rocketmq
- Docker服务的重启服务命令(systemctl restart docker)
- 修改docker容器的Base Device Size
- 「 【Docker】设置docker加速器(如何使docker下载速度变快) 」
- 云原生之Docker容器的存储管理
- Docker搭建Redis主从复制集群
- docker入门命令
- docker build centos8系统php8.1+swoole等各种扩展镜像dockerfile
- docker-compose 快速部署 Soketi
- Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running
- 【云原生 • Docker】Docker核心UTS Namespace原理实践
- Linux下快速配置Maven环境(linux配置maven)
- docker从Abp到MySQL,使用Docker快速部署(abpmysql)
- Docker到底是什么?为什么它这么火!
- 数据库使用Maven操作Oracle数据库的入门指南(maven中oracle)
- 使用Maven搭建Oracle数据库环境(maven oracle)