-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target platform resolution fails with certain Maven artifacts #1622
Comments
There is similar complain from @rgrunber at eclipse-jdtls/eclipse.jdt.ls#2998 which I can't reproduce. |
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. |
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 eclipse-pde/eclipse.pde#874 The target platform that fails has:
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? 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.
The text was updated successfully, but these errors were encountered: