-
Notifications
You must be signed in to change notification settings - Fork 87
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
Remove plexus components.xml #81
base: master
Are you sure you want to change the base?
Conversation
I hope this is a joke... |
If you think we need to keep these bindings, there are two questions that need to be answered:
https://cwiki.apache.org/confluence/display/MAVEN/Maven+Ecosystem+Cleanup |
We need to decide how to do this first... please see https://issues.apache.org/jira/browse/MNG-8472 for context (esp mentioned issues and list discussion). |
I made some updates to the Wiki. Seems it is asking folks to do things that can't yet be done. |
Question for @cstamas what observable effect do you expect from merging this PR? As far as I can tell the only change is that the jar file is a little smaller. Behavior is the same. If there is a desired observable effect, we can write a test for it. |
@elharo one obvious one: use this plugin in a project used in "ordinary" way (not as extension) and observe plugin versions used in the build, they come from Maven core (with Maven 3.9.9 you should see these versions: https://github.com/apache/maven/blob/dcf3d70c2614ceca6953f98843d2ad3f053f5341/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml#L195-L234). Then, in same project, make maven-war-plugin and extension=true, and then you will see these plugin versions used instead: maven-war-plugin/src/main/resources-filtered/META-INF/plexus/components.xml Lines 44 to 86 in 6943938
|
And this is wrong: this is NOT about dropping Plexus XML (it is doable), it is about dropping lifecycle component (that can be defined as plexus xml but also as a jsr330 component as well). Lifecycle can be defined in multiple ways, as explained here https://cstamas.org/blog/2024/09/add-new-maven-lifecycle/ |
This file appears to no longer be needed as all integration tests pass when it's removed. It also seems to be quite out of date in terms of versions. If removing this does break something, then there's a missing test somewhere,