【发布时间】:2013-09-07 10:30:47
【问题描述】:
我正在尝试构建一个基于 Eclipse 4 RCP 平台并使用 Tycho 构建的应用程序。我按照http://blog.vogella.com/2013/01/03/tycho-advanced/的文章使用了PDE目标定义,在构建我的项目时出现如下错误:
[ERROR] Unknown packaging: eclipse-target-definition
我项目的模块架构改编自the EclipseCon 2013 Tycho Demo,加上目标模块:
- mybundle.myproject.bundle
- mybundle.myproject.bundle.tests
- mybundle.myproject.feature
- mybundle.myproject.parent
- mybundle.myproject.target
我使用的是 tycho 0.18.1,而来自mybundle.myproject.target 模块的pom.xml 生成错误是:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>mybundle.myproject.repository</artifactId>
<packaging>eclipse-repository</packaging>
<parent>
<groupId>mybundle</groupId>
<artifactId>mybundle.myproject.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
</project>
更多信息,完整的调试日志在这里:http://pastebin.com/dMEckvsH
我有什么遗漏吗? eclipse-target-definition 包装应该适用于这个 Tycho 版本。
【问题讨论】:
标签: eclipse-rcp tycho