Discussion:
[tycho-user] tycho pom first issue with features
Tiago Simões
2017-02-13 13:08:26 UTC
Permalink
Hello all,

I'm using tycho two build two products, A and B, both feature based and
where B depends on A in its feature definition.

Since they are built nightly having a dependency in the target platform
file of B to A is problematic as it need to be continuously updated due do
the qualifier string changing on each build. Also they are built in
isolation, not in the same reactor.

So i was trying to use a pom first approach to specify the dependency of B
to A. Everything worked for the "real" plugins, they are found in the maven
repository and resolved properly through a simple <dependency> statement in
the pom.xml. However my problem is with the feature dependency.

Even though the feature is downloaded correctly though its <definition>
statement tycho is not able to properly recognize it and complains that the
feature.group cannot be found:

[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: B.feature.group 4.0.0.qualifier
[ERROR] Missing requirement: B.feature.group 4.0.0.qualifier requires
'A.feature.group [5.0.0.qualifier,6.0.0)' but it could not be found

But in the local maven repository one can find A.feature-5.0.0-SNAPSHOT

Any help/suggestions regarding this problem?

Many thanks,
Tiago

Loading...