使用Eclipse构建Maven项目 (step-by-step)

本文提供了指向一篇位于 优快云 博客的文章链接,该文章详细介绍了关于编程技术的主题内容,包括具体的编程实践、技巧分享及案例分析。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

详见:


转至:http://blog.youkuaiyun.com/qjyong/article/details/9098213
"C:\Program Files\Java\jdk-17\bin\java.exe" -Dmaven.multiModuleProjectDirectory=D:\workspace-pro\mall\font-mall-boot -Djansi.passthrough=true -Dmaven.home=D:\tools\apache-maven-3.8.4 -Dclassworlds.conf=D:\tools\apache-maven-3.8.4\bin\m2.conf "-Dmaven.ext.class.path=C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.6\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.6\lib\idea_rt.jar=57046:C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.6\bin" -Dfile.encoding=UTF-8 -classpath D:\tools\apache-maven-3.8.4\boot\plexus-classworlds-2.6.0.jar;D:\tools\apache-maven-3.8.4\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2023.3.6 -s D:\tools\apache-maven-3.8.4\conf\settings.xml -Dmaven.repo.local=D:\tools\mvnRepo_1.1 -DskipTests=true com.spotify:docker-maven-plugin:1.2.2:build -P rdc,pre,!test [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.reeji:font-mall-boot:jar:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 180, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ----------------------< com.reeji:font-mall-boot >---------------------- [INFO] Building font-mall-boot 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- docker-maven-plugin:1.2.2:build (default-cli) @ font-mall-boot --- [INFO] Using authentication suppliers: [ConfigFileRegistryAuthSupplier] [INFO] Copying D:\workspace-pro\mall\font-mall-boot\target\font-mall-boot-1.0-SNAPSHOT.jar -> D:\workspace-pro\mall\font-mall-boot\target\docker\font-mall-boot-1.0-SNAPSHOT.jar [INFO] Copying D:\workspace-pro\mall\font-mall-boot\target\classes\docker\Dockerfile -> D:\workspace-pro\mall\font-mall-boot\target\docker\Dockerfile [INFO] Building image font-mall-boot Step 1/11 : FROM eclipse-temurin:17 as builder ---> b6a94cd8215a Step 2/11 : WORKDIR /application ---> Using cache ---> 85dd450250cf Step 3/11 : ADD font-mall-boot/target/*.jar . [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.091 s [INFO] Finished at: 2025-08-04T14:50:58+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.2.2:build (default-cli) on project font-mall-boot: Exception caught: ADD failed: no source files were specified -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Process finished with exit code 1
08-05
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值