Maven项目未能构建 [英] Maven project failed to build
问题描述
[ERROR]无法执行com.google.appengine目标:appengine-maven -plugin:1.9.4:项目helloworld上的devserver(default-cli):com.google.appengine插件:appengine-maven-plugin:1.9.4要求Maven版本3.1.0 - > [帮助1]
[ERROR]
[ERROR]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[ERROR]使用-X开关重新运行Maven以启用完整的调试日志记录。
[ERROR]
[ERROR]有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误] [帮助1] http://cwiki.apache.org / confluence / display / MAVEN / PluginIncompatibleException
我查看了显示的链接。建议将构建环境更新为所需的Maven版本。我搜索它,但发现在pom.xml中进行某些更改。但没有任何工作。任何人都可以告诉我如何解决问题。我安装的Maven版本是 3.0.5
。
为了执行此插件,您至少需要maven版本3.1.0。从这里安装( http://maven.apache.org/download.cgi )之后它通过在命令行中执行以下命令来检查是否正确安装:
mvn -version
I am new to Maven projects. I imported an existing Maven project to eclipse, then made a new configuration. I tried running the application then but the console shows
[ERROR] Failed to execute goal com.google.appengine:appengine-maven-plugin:1.9.4:devserver (default-cli) on project helloworld: The plugin com.google.appengine:appengine-maven-plugin:1.9.4 requires Maven version 3.1.0 -> [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/PluginIncompatibleException
I checked the link it showed. It suggested to update the build environment to the required Maven version. I searched for it but found out to make certain changes in pom.xml. But nothing worked. Can anyone tell me how to resolve the problem. My installed Maven version is 3.0.5
.
In order to execute this plugin, you need maven version 3.1.0 at least. Install it from here (http://maven.apache.org/download.cgi) and after that check if it is correctly installed by executing following command in the command line:
mvn -version
这篇关于Maven项目未能构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!