【问题标题】:Unable to locate feature 'org.eclipse.equinox.executable'无法找到功能“org.eclipse.equinox.executable”
【发布时间】:2021-12-10 23:01:24
【问题描述】:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:2.3.0:publish-products (default-publish-products) on project ------: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution: Unable to locate feature 'org.eclipse.equinox.executable'. This feature is required for native product launchers. -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

大家好,当我尝试使用 maven 构建项目时出现上述错误。我在目标定义中添加了org.eclipse.equinox.executable 功能。但我仍然有同样的错误。 part of my target def image

【问题讨论】:

  • 你能显示目标定义吗?
  • 请提供足够的代码,以便其他人更好地理解或重现问题。

标签: java eclipse maven eclipse-rcp tycho


【解决方案1】:
  1. 您需要使用“target-platform-configuration”插件为您的构建配置一个目标平台,示例在这里:https://github.com/eclipse-passage/passage/blob/master/releng/org.eclipse.passage.parent/pom.xml#L527

  2. 您需要将“org.eclipse.equinox.executable.feature.group”添加到您的目标定义中,示例如下:https://github.com/eclipse-passage/passage/blob/master/releng/org.eclipse.passage.target/org.eclipse.passage.target.target#L23

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-01-20
    • 1970-01-01
    • 2011-04-30
    • 2018-02-03
    • 2018-07-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多