Open rbioteau opened 11 months ago
There is similar complain from @rgrunber at https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/2998 which I can't reproduce. @laeubi Any idea what could be going wrong?
This looks like a regression from previous version.
Can you try to replicate the behavior with:
this are the ones we also share with Tycho to ensure m2e and Tycho work (mostly) the same.
There is similar complain from @rgrunber at eclipse-jdtls/eclipse.jdt.ls#2998 which I can't reproduce.
Also please note that MIXING maven targets + and site targets where one shadow the other might suffer from this bug recently fixed in PDE:
I can confirm it as a duplicate of https://github.com/eclipse-pde/eclipse.pde/issues/874 (Romain & I work together on the same project)
The target platform that fails has:
org.apache.commons.commons-io P2 plugin
commons-io:commons-io maven plugin shadowed
org.jdom2 P2 plugin
org.jdom:jdom2 maven plugin shadowed
I've opened it with a snaphot IDE from https://download.eclipse.org/eclipse/downloads/drops4/I20231218-1800/ and, after adding the m2e integration, the target platform is correctly resolved. So it should be fixed in 2024-03.
Meantime, as a workaround, commenting the maven plugin out from the target platform also works, since only the P2 plugins are left then.
ah so this is a problem because of the target platform through the sites already includes this? because i also now have it for slf4j-api (besides the commons-io described above)
But i guess i can just remove them from the current mvn target because they should come from the other eclipse "normal" p2 sites i guess
By the way this is for me just a target file editor problem, tycho works fine with it and the stupid thing is if i quickly change it through the mvn editor of the target file so commons io back to 2.15.0 and then quickly back to 2.15.1 i can use the target..
An error occurs in the latest version of the m2e PDE integration when resolving the following target platform file:
This looks like a regression from previous version. This error does not occur with Tycho 4.0.4.