Mercurial > hg > release > thermostat-0.9
view eclipse/com.redhat.thermostat.eclipse.feature/pom.xml @ 1075:be3470750169
Eclipse target platform definition
This commit provides a target definition file that enables Eclipse client
developers to install all required dependencies into their workspace in
a single click.
This commit adds a feature for all of our bundle-wrapped test
dependencies. This is necessary to include the corresponding p2
repository in our target definition file as a software source. This
feature required some changes to our Makefile, since Tycho was unable to
resolve the feature as is. Now the Makefile builds all pom-first
dependencies first, so core Thermostat and our bundle-wrapped deps. Then
all manifest-first modules are built in a single reactor, this includes
the p2 repositories.
Another small fix I've added is a eclipse-root property to the various
Eclipse POM files. I had noticed that different nesting depths caused
projects not to be able to find our p2 repositories that are referenced
using a relative path. This commit also removes the previous
Fedora-specific target definition file, which should be obsoleted by
this new general-purpose one. I have renamed the native location for the
Keyring wrapper lib from linux_x86-64 to linux_x86_64. Eclipse's
${target.arch} variable produces x86_64, which will make it easier for
documentation going forward.
Reviewed-by: jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-April/006357.html
PR1387
author | Elliott Baron <ebaron@redhat.com> |
---|---|
date | Thu, 25 Apr 2013 11:28:32 -0400 |
parents | 0b250145abf3 |
children | ad73c8da51a9 |
line wrap: on
line source
<?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> <parent> <artifactId>thermostat-eclipse-parent</artifactId> <groupId>com.redhat.thermostat.eclipse.parent</groupId> <version>0.8.0-SNAPSHOT</version> </parent> <groupId>com.redhat.thermostat.eclipse.parent</groupId> <artifactId>com.redhat.thermostat.eclipse.feature</artifactId> <version>0.8.0-SNAPSHOT</version> <name>Thermostat Eclipse Feature</name> <properties> <eclipse-root>${basedir}/..</eclipse-root> </properties> <dependencies> <dependency> <groupId>com.redhat.thermostat.eclipse.parent</groupId> <artifactId>com.redhat.thermostat.client.feature</artifactId> <version>0.8.0-SNAPSHOT</version> <type>eclipse-feature</type> </dependency> </dependencies> <build> <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> <resources> <resource> <directory>src</directory> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-source-plugin</artifactId> </plugin> </plugins> </build> <packaging>eclipse-feature</packaging> </project>