-
Notifications
You must be signed in to change notification settings - Fork 115
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
org.eclipse.m2e.archetype.common listed as fragment in m2e.feature #1537
Comments
I assume it complains about missing You can try out the current M3 for that release.
This is indeed wrong, but I'm not sure if this is a blocking error or not. Can you say that? |
I will try to use the latest PDE, thanks. This makes sense also because I was able to build on the command line and it works fine, just unable to launch from Eclipse unless I select all those dependencies manually. So yeah, among packages that are missing are
I cannot be certain either way, this was just something I noticed while looking through m2e features and plugins. I guess one could remove this, build locally, and see if anything changes. Regardless, it should probably be fixed, because again I'm unsure of the side effects (if it even matters like you said). One interesting thing was that I tried adding |
Very likely yes. Just in case you didn't do that already: In general it is often easier to manage a product if you just explicitly include the 'root' Features/Plugins you want to use and let PDE/Tycho include all missing requirements automatically:
Its good to migrate to Import-Package. On the long run this makes many thinks simpler.
Exactly, you have to append At the moment the error message is silent about that, but we already started an effort to improve that in PDE: |
I already wrote it elsewhere but most (if not all) except of id + version are completely useless and PDE should never use these anyways. So this is more a visual thing than anything that should break something. |
The Plug-in org.eclipse.m2e.archetype.common is not a Fragment and the corresponding attribute was added erroneously. Reported in eclipse-m2e#1537
The Plug-in org.eclipse.m2e.archetype.common is not a Fragment and the corresponding attribute was added erroneously. This was accidentally added in eclipse-m2e#1494 Reported in eclipse-m2e#1537
Created #1540 to remove that (more cosmetic) issue
For that I created eclipse-pde/eclipse.pde#730. |
The Plug-in org.eclipse.m2e.archetype.common is not a Fragment and the corresponding attribute was added erroneously. This was accidentally added in eclipse-m2e#1494 Reported in eclipse-m2e#1537
I am trying to upgrade our product to use m2e 2.4.0 and running into trouble with the archetype.common bundle which we were previously using.
This is after "Select Required". Manually selecting the
org.jdom2
bundle gives a similar message about missing dependencies.org.eclipse.m2e.archetype.common
plugin inorg.eclipse.m2e.feature
hasfragment=true
set, thus Eclipse thinks it is missing. https://github.com/eclipse-m2e/m2e-core/blob/master/org.eclipse.m2e.feature/feature.xml#L30I note that I was able to build the product using Tycho on the command line but these issues make it hard to launch from Eclipse.
Please advise on any necessary migration needed after upgrade.
The text was updated successfully, but these errors were encountered: