我尝试用maven从eclipse构建项目,它告诉我
Build errors; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources) on project sceneExplorer: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed.
但如果我从命令行构建项目一切顺利,所有资源都会被复制并且不会抛出任何错误 命令行和eclipse使用相同的maven安装和settings.xml文件
为什么会这样?
答案 0 :(得分:2)