首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用netbeans构建apache点燃

使用netbeans构建apache点燃
EN

Stack Overflow用户
提问于 2018-12-18 09:17:11
回答 1查看 135关注 0票数 0

我想在ubuntu16.04中使用阿帕奇点火 IDE 8.2和maven 3.3.9构建NetBeans源代码,但是当我构建它时,它会遇到以下错误:

代码语言:javascript
复制
   Failed to execute goal org.codehaus.mojo:flatten-maven-plugin:1.0.1:flatten (flatten) on project ignite-tools: The plugin org.codehaus.mojo:flatten-maven-plugin:1.0.1 requires Maven version 3.2.5 -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException

After correcting the problems, you can resume the build with the command
  mvn <goals> -rf :ignite-tools

在"Ignite工具“步骤上,它因失败而停止。

它通常使用终端命令构建,但我需要使用IDE构建它。

我已经修改了Maven版本,但是仍然出现了相同的错误。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-12-18 10:08:11

只需检查:您需要向Netbeans提供更新的Maven,而不是内置版本。

您必须转到Tools -> Options -> Java窗格-> Maven选项卡。

Maven Home: Browse...,选择您自己下载的Maven版本目录,因为内置3.0.2 < 3.2.5。您必须下载一个新的Maven安装,我想您已经下载了。

您还需要选择[x] Skip tests for builds not related to testing,否则Apache将不会为您构建(运行所有测试需要24小时左右)。

然后你可以做Run -> Clean and Build Project,它会建的很好。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53829729

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档