Hello, I have a multi-module maven project. One of the modules is a
website that depends upon a services module. When I try to compile the
website I get the following error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to copy file for artifact[active project artifact:
artifact = com.company.project:project-services:jar:0.0.1-SNAPSHOT:compile;
project: MavenProject:
com.company.project:project-services:0.0.1-SNAPSHOT @
/Users/Sammy/Development/Projects/Project/services/pom.xml]
Embedded error:
/Users/Sammy/Development/Projects/Project/services/target/classes (No
such file or directory)
I have the services project added as a dependency for the website. Any ideas?
--
Thank you,
Sammy
m2e 0.9.7 enables workspace artifact resolution when launching maven
build for most projects now and not all Maven plugins like that. Current
workaround is to create explicit launch configuration (Run As->Maven
Build...) and disable workspace artifact resolution.
--
Regards,
Igor
Sammy在构建一个多模块的Maven项目时遇到了问题,其中一个网站模块依赖于服务模块,在编译过程中出现了错误提示,指出无法复制服务模块的相关文件。


被折叠的 条评论
为什么被折叠?



