-
Notifications
You must be signed in to change notification settings - Fork 3
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
Changing maven groupId requires change in m2e-core #21
Comments
sorry but people here do not have karma to deploy to |
@olamy please let us know (at m2e) what new GAV should be supported, I'll take care fir a fix then! |
Is this new item already deployed on central? Would you accept a PR that implements a possibly bridge between old and new API? |
this will be
but no release yet |
Any plans for a release yet? Anything left to do before? |
Is there a snapshot repo to be used? Its a bit tricky to test unreleased artifacts (as we actually need to pull them somehow into our build) but I can give it a try. Just wondering if an integration-test for the API would not be more sufficient (maybe using PlexusTestcCase?) ... I fear we will only know for sure after its released, m2e has made a new release and some people actually start using the new API :-\ |
@laeubi you can use this staging repo https://oss.sonatype.org/content/repositories/plexus-1215/. |
Why we still have sonatype in package name? |
because of this search result https://github.com/search?q=org%3Aapache+import+org.sonatype.plexus.build.incremental&type=code :( maybe we could have something such (pseudo code): |
@olamy I think it would only be a matter of organize the imports in the IDE if the package name is changed, the only one where one needs adaption is implementors of the
|
I don't mind changing the package. |
FYI I have deleted the staged repo. |
package change PR #43 |
Yes, m2e can simply implement the old interface as well (if it is in an own package).
All right it might be a good idea to even clean up the code a bit and simply release a 1.0.0 version I created some PRs... that way one only needs one "compat" layer? |
FTR: The upstream change is tracked in eclipse-m2e/m2e-core#944. |
I tested the current state of the code with Eclipse 2021-12. It failed.
Reason is that m2e-core is explicitely checking for the groupId and artifactId of plexus-build-api.
To make this work with Eclipse a change in m2e-core is needed.
See: https://github.com/eclipse-m2e/m2e-core/blob/69dc9cf73bf03ebd082937b90d17032c9007dd15/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/EclipseClassRealmManagerDelegate.java#L82
The text was updated successfully, but these errors were encountered: