本文共 339 字,大约阅读时间需要 1 分钟。
用idea 集成的mvn插件进行mvn install 失败 提示错误:The packaging for this project did not assign a file to the build artifact
暂时不明…
方法1: 在pom.xml中添加
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin>
本人尝试无效 方法2: 在idea命令行使用 mvn jar:jar install:install 解决 转载地址:http://tenhb.baihongyu.com/