Replies: 1 comment 3 replies
-
@mdaloia this is an interesting case I assume the IU is provided by one bundle of your reactor via p2.inf? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We have a "virtual" IU provided and required in a p2.inf file of a bundle to add a touchpoint configuration (it really doesn't matter what it does) that used to work in 3.0.5. We are migrating to 4.0.3 and found that it fails with:
I have reduced it to an example project: https://github.com/mdaloia/tycho-p2-inf
(Environment used: Maven 3.9.4 / Java 17)
If I build it with
mvn clean package -Dtycho.localArtifacts=ignore -Dtycho-version=4.0.3
it fails with the mentioned error and no
target/p2content.xml
is created.I tried adding
-Dtycho.resolver.classic=false
as explained in "mixed reactor setups require the new resolver now" but I got the same error.But if I only change the version:
mvn clean package -Dtycho.localArtifacts=ignore -Dtycho-version=3.0.5
it works and in the
target/p2content.xml
file I see the<unit id='configure.p2.inf'>
and the<required namespace='org.eclipse.equinox.p2.iu' name='configure.p2.inf' range='0.0.0'/>
This is because I have
<pomDependencies>consider</pomDependencies>
and it shows this message:If I remove this configuration it fails with the same error as using 4.0.3.
Do I missed something or it seems to be a bug?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions