Maven Tycho build因缺少捆绑包而失败;org.eclipse.equinox.p2.reconciler.dropins“;对于e4 RCP应用程序

Maven Tycho build因缺少捆绑包而失败;org.eclipse.equinox.p2.reconciler.dropins“;对于e4 RCP应用程序,maven,eclipse-rcp,tycho,Maven,Eclipse Rcp,Tycho,我对第谷很陌生。我将现有的e4 RCP应用程序更改为基于Tycho Maven的构建。虽然我从EclipseIDE正常导出工作正常,但对于Tycho,我遇到了以下错误 Cannot complete the install because one or more required items could not be found. Software being installed: Chartcube Database Connector 1.0.0.201601060933 (*

我对第谷很陌生。我将现有的e4 RCP应用程序更改为基于Tycho Maven的构建。虽然我从EclipseIDE正常导出工作正常,但对于Tycho,我遇到了以下错误

  Cannot complete the install because one or more required items could    not be found.
  Software being installed: Chartcube Database Connector 1.0.0.201601060933 (**.**.demo.product 1.0.0.201601060933)
  Missing requirement: toolingwin32.win32.x86_64org.eclipse.equinox.p2.reconciler.dropins 1.0.0.201601060933 requires 'bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455' but it could not be found
   Cannot satisfy dependency:
   From: **** ****. 1.0.0.201601060933 (com.*****.*****.demo.product 1.0.0.201601060933)
   To: toolingcom.toolingcom.****.****.demo.product.configuration [1.0.0.201601060933]
  Cannot satisfy dependency:
  From: toolingcom.****.****.demo.product.configuration 1.0.0.201601060933
   To: toolingwin32.win32.x86_64org.eclipse.equinox.p2.reconciler.dropins [1.0.0.201601060933]
  Application failed, log file location: /home/****/.log
我的aggreegator pom文件如下:

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>group</groupId>
  <artifactId>artifact</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>pom</packaging>
  <modules>
    <module>ChartCubeDemo</module>
  </modules>

  <properties>
    <tycho.version>0.24.0</tycho.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  
    <mars-repo.url>http://download.eclipse.org/releases/mars</mars-repo.url>
    <nebula-repo.url>http://download.eclipse.org/nattable/releases/1.3.0/repository/</nebula-repo.url>
    <orbit-repo.url>http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/</orbit-repo.url>
  </properties>

  <repositories>
    <repository>
      <id>mars</id>
      <url>${mars-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>nebula</id>
      <url>${nebula-repo.url}</url>
      <layout>p2</layout>
    </repository>
    <repository>
      <id>orbit</id>
      <url>${orbit-repo.url}</url>
      <layout>p2</layout>
    </repository>

  </repositories>

  <build>
     <plugins>

        <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>target-platform-configuration</artifactId>
            <version>0.24.0</version>
            <configuration>
                <environments>
                    <environment>
                        <os>win32</os>
                        <ws>win32</ws>
                        <arch>x86_64</arch>
                    </environment>
                    <environment>
                        <os>linux</os>
                        <ws>gtk</ws>
                        <arch>x86_64</arch>
                    </environment>
                    <environment>
                        <os>macosx</os>
                        <ws>cocoa</ws>
                        <arch>x86_64</arch>
                    </environment>
                </environments>
            </configuration>
        </plugin>


        <plugin>
            <groupId>org.eclipse.tycho</groupId>
            <artifactId>tycho-maven-plugin</artifactId>
            <version>0.24.0</version>
            <extensions>true</extensions>
        </plugin>
     </plugins>
  </build>
</project>

4.0.0
组
人工制品
0.0.1-快照
聚甲醛
沙特库贝德莫
0.24.0
UTF-8
http://download.eclipse.org/releases/mars
http://download.eclipse.org/nattable/releases/1.3.0/repository/
http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/
火星
${mars repo.url}
p2
星云
${nebula repo.url}
p2
轨道
${orbit repo.url}
p2
org.eclipse.tycho
目标平台配置
0.24.0
win32
win32
x86_64
linux
gtk
x86_64
马科斯
热可可
x86_64
org.eclipse.tycho
tycho maven插件
0.24.0
真的
我的产品文件是:

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>group</groupId>
    <artifactId>artifact</artifactId>
    <version>0.0.1-SNAPSHOT</version>
  </parent>
  <groupId>group</groupId>
  <artifactId>artifact</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>eclipse-repository</packaging>


  <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-p2-director-plugin</artifactId>
                <version>0.24.0</version>
                <configuration>
                    <formats>
                        <win32>zip</win32>
                        <linux>tar.gz</linux>
                        <macosx>tar.gz</macosx>
                    </formats>
                </configuration>
                <executions>
                    <execution>
                        <id>materialize-products</id>
                        <goals>
                            <goal>materialize-products</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>archive-products</id>
                        <goals>
                            <goal>archive-products</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

4.0.0
组
人工制品
0.0.1-快照
组
人工制品
1.0.0-SNAPSHOT
eclipse存储库
org.eclipse.tycho
tycho-p2-director-plugin
0.24.0
拉链
tar.gz
tar.gz
物化产品
物化产品
档案产品
档案产品
我有什么遗漏吗?我需要在这些POM文件中添加额外的内容吗

另外,My.Product文件具有以下配置:

     <configurations>
      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" />
      <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="0" />
      <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
      <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="4" />
   </configurations>

您显示的是产品的开始配置,而不是产品的内容。我假设org.eclipse.equinox.p2.reconciler.dropins插件不是您产品的一部分。如果你有一个基于功能的产品,你需要确保这个插件也在其中一个功能中


另一个选择是将其从启动配置中删除。我假设它是通过按钮添加默认值来添加的,但这不是必需的

你能更明确一点吗?我有这样一个问题(有点不同),我不明白你的答案。还有什么比“从产品配置中删除org.eclipse.equinox.p2.reconciler.dropins”更明确的呢?或者“确保org.eclipse.equinox.p2.reconciler.dropins是产品的一部分,例如在任何包含的功能中”?我没有同样的问题,我担心我是否可以利用您的答案。这是我的: