原文:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-cli) on project kircp-js-plan-resource: The packaging for this project did not assign a file to the bu

结合网上的相关资料,要使用Lifecycle下的install 原因好像是Lifecycle下才会走Maven完整的phase。 ...

2019-09-11 14:07 0 466 推荐指数:

查看详情

maven打包时出现 Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project……

maven在打包时只会默认打jar包,而那些xml等配置文件默认不打包进去的,这样的话在mybatis的配置使用中就有问题了。 要自己配置后手动打包才能将xml文件也纳入打包的范围,配置后打包发现出现上述的问题,原因不是很清楚,貌似是缺少了什么?? 根据提示在打包时加上 -X ...

Wed Apr 10 07:03:00 CST 2019 0 4064
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM