使用 netbeans 构建 apache ignite ide
Build apache ignite with netbeans ide
我想在 ubuntu 16.04 中使用 NetBeans IDE 8.2 和 maven 3.3.9 构建 apache ignite 源代码,但是当我构建它时遇到以下错误:
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 tools" 步因失败而停止。
一般是用终端命令构建,但我需要用IDE构建。
我已经修改了Maven版本,还是出现同样的错误
刚刚检查:您需要向 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 Ignite 将不会为您构建(运行 所有测试需要 24 小时左右)。
然后你可以做Run
-> Clean and Build Project
,它会建立好的。
我想在 ubuntu 16.04 中使用 NetBeans IDE 8.2 和 maven 3.3.9 构建 apache ignite 源代码,但是当我构建它时遇到以下错误:
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 tools" 步因失败而停止。
一般是用终端命令构建,但我需要用IDE构建。
我已经修改了Maven版本,还是出现同样的错误
刚刚检查:您需要向 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 Ignite 将不会为您构建(运行 所有测试需要 24 小时左右)。
然后你可以做Run
-> Clean and Build Project
,它会建立好的。