tycho - Unknown packaging: eclipse-target-definition -


i'm trying build application based on eclipse 4 rcp platform , built tycho. followed article http://blog.vogella.com/2013/01/03/tycho-advanced/ use pde target definition, , following error occurs when building project:

[error] unknown packaging: eclipse-target-definition 

my project's modules architecture adapted the eclipsecon 2013 tycho demo, plus target module:

- mybundle.myproject.bundle - mybundle.myproject.bundle.tests - mybundle.myproject.feature - mybundle.myproject.parent - mybundle.myproject.target 

i'm using tycho 0.18.1, , pom.xml mybundle.myproject.target module generates error is:

<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> 

for further info, full debug log here: http://pastebin.com/dmeckvsh

is there i'm missing? eclipse-target-definition packaging should work tycho version.

the problem cause of problem in debug output have linked. compare output before failure ...

[debug] extension realms project mybundle:mybundle.myproject.target:eclipse-target-definition:0.0.1-snapshot: (none) [debug] looking lifecyle mappings packaging eclipse-target-definition classrealm[plexus.core, parent: null] 

... output of previous, successful lookup of 1 of tycho's packaging types:

[debug] extension realms project mybundle:mybundle.myproject.repository:eclipse-repository:0.0.1-snapshot: [classrealm[extension>org.eclipse.tycho:tycho-maven-plugin:0.18.1, parent: sun.misc.launcher$appclassloader@affc70]] [debug] looking lifecyle mappings packaging eclipse-repository classrealm[project>mybundle:mybundle.myproject.parent:0.0.1-snapshot, parent: classrealm[maven.api, parent: null]] 

here can read output: project mybundle.myproject.target doesn't have build extensions (i.e. in particular not tycho build extension) configured. second line of debug output, seems because project doesn't have parent mybundle.myproject.parent configured other modules.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -