[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Odd behaviour with pomDependencies=consider and a features's dependencies
|
Hi all,
I am trying to build (with both Tycho 0.17 & 0.18) a feature that
contains a bundle available as a Maven-style dependency only [1]:
In my feature.xml:
<plugin
id="org.apache.camel.camel-test"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
In my feature's pom.xml:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
and
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test</artifactId>
<version>2.10.2</version>
</dependency>
</dependencies>
Unfortunately, Tycho fails with a "Unable to satisfy dependency [...] to
org.apache.camel.camel-test 0.0.0" message. Any suggestions what I might
be doing wrong?
The really odd thing (and also the workaround I am using right now ;-)
is that when I list the dependency in the reactors's root POM (the
parent POM of the feature), then Tycho considers the POM dependency.
Should I file a bug about this?
Best wishes,
Andreas
[1]
<http://wiki.eclipse.org/Tycho/How_Tos/Dependency_on_pom-first_artifacts>
--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940