What does `eclipse-target-definition` packaging type in Tycho do? [message #1222579] |
Fri, 20 December 2013 15:23 |
Eclipse User |
|
|
|
I was thinking that is will create target platform directory structure, but it doesn't. Actually it does absolutely nothing.
It is said in manual (http://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-target-definition) that it "represent a PDE target definition". Represent to whom? To Galaxy Confederation? Since when Maven obtained representative functions? 
My `pom.xml` is follows:
<project ...>
<modelVersion>4.0.0</modelVersion>
<groupId>target.sample</groupId>
<artifactId>target.sample</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-target-definition</packaging>
<properties>
<tycho.version>0.19.0</tycho.version>
<kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url>
</properties>
<repositories>
<repository>
<id>kepler</id>
<url>${kepler-repo.url}</url>
<layout>p2</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
</plugin>
</plugins>
</build>
</project>
Also there is a file named `target.sample.target` in project directory. I was trying to name this file other way, but Maven was not finding it, despite the documentation. So, I removed nested `<configuration>` element.
|
|
|
Powered by
FUDForum. Page generated in 0.22900 seconds