-
Notifications
You must be signed in to change notification settings - Fork 38
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
[JENKINS-58028] Add GMavenPlus version #42
Conversation
Eventually will replace gmaven with gmavenplus. This commit should not change downstream behavior aside from setting the version of GMavenPlus.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a downstream PR with an update which uses GMavenPlus
@oleg-nenashev |
Right, I did not notice that the execution section was for |
Any plans to finish it @bitwiseman ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for getting it over the line. Taking the experience with GMavenPlus in other components, I think it is ready to go
@oleg-nenashev I've been heads down on Matrix. I'll get back to it when that clears. |
Should we go ahead and replace GMaven @jenkinsci/core ? AFAICT it is no longer maintained, and the same patch has worked quite well for plugins |
Merge conflicts here. This is OK though I would still generally recommend components not use Groovy sources to begin with. |
Do we need this in the parent POM? I looked around for usages of GMaven in any POMs whose parent is this repository and the only two I could find were |
@basil As Oleg noted GMaven is no longer maintained and this replaces that. If anyone uses GMaven, this makes it easy for them to switch and standardized the version of GMavenPlus that gets used. |
I trust that you've looked into this, but I don't quite see the reason why it would be better. From a different perspective, it could be argued that slimming down the dependency tree of the POM would be better. Either way, I have no strong preference, but I do have a preference that we file downstream PRs in |
Co-authored-by: Liam Newman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-0 I suppose. Harmless, though most components should not be using Groovy sources, and for those that do, I see no particular advantage in managing the mojo version here.
For the projects that do, it is better that we guide them away from GMaven to GMavenPlus and to not managing the version of the plugin on their own. |
Sure.
Why? Usually we add a Maven plugin version to a POM either because it is widely used, or because we define some configuration for it, or because unexpected updates could have bad interactions with something else we define. Miscellaneous plugins used by particular components for idiosyncratic reasons (Shade, for example) do not particularly benefit from being defined in some parent. It just makes for one extra level of indirection in Dependabot. |
As of jenkinsci/acceptance-test-harness#719 we are down to |
Apparently used for https://github.com/jenkinsci/acceptance-test-harness/blob/master/docs/WIRING.md#configuring-how-to-run-tests @jtnord / @olivergondza are either of you using this functionality? |
Yes various ATH scripts define |
There has been no interest in this during the intervening year. |
In fact we have been moving to remove |
Eventually will replace gmaven with gmavenplus.
This commit should not change downstream behavior aside from setting the version of GMavenPlus.