我正在尝试自动构建 Eclipse RCP 应用程序。我决定使用带有 tycho 插件的 maven。但是,我遵循了创建插件、功能和产品的教程。按照本教程,http ://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/似乎有点过时了。
但是,当我运行我的 mvn install 时,我得到:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.056s
[INFO] Finished at: Sat Aug 31 17:50:34 BST 2013
[INFO] Final Memory: 78M/411M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.18.1:product-export (default-product-export) on project com.hal
lahan.premierProduct: Product includes native launcher but no target environment was specified -> [Help 1]
[ERROR]
在产品中,如果我取消选中使用本机启动器,我会遇到不同的问题:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.18.1:product-export (default-product-export) on project com.hallahan.premierProduct : Execution default-product-export of goal org.eclipse.tycho:tycho-packaging-plugin:0.18.1:product-export failed: Could not resolve plugin org.eclipse.core.resources.win32.x86_64_null; Path to dependency: -> [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/PluginExecutionException
[ERROR]
任何帮助都将是一个很大的帮助,或者指出如何解决这些问题中的任何一个都会是一个很大的帮助。