我尝试使用 Tycho 0.13.0 构建产品,但在 materialize-product 执行时出现以下错误:
安装项目会话上下文时出错:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install,operand=null --> [R]org.jruby 1.2.0,动作=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.ChmodAction)。工件 ${PATH_TO_PRODUCT_PLUGIN}/target/products/ewa/linux/gtk/x86/plugins/org.jruby_1.2.0.jar 不是目录。
在 Reactor 总结之后出现以下错误:
[错误] 无法在项目 org.ewazone.ewa.project 上执行目标 org.eclipse.tycho:tycho-p2-director-plugin:0.13.0:materialize-products (materialize-products):P2 导演返回码为 13 - > [帮助1]
pom.xml
在项目插件中:
<parent>
<artifactId>ewa</artifactId>
<groupId>ewa.ewa</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>ewa</groupId>
<artifactId>org.ewazone.ewa.project</artifactId>
<version>1.0.0.qualifier</version>
<packaging>eclipse-repository</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho-version}</version>
<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>
我不知道如何解决这个问题。