-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Remove custom arguments from Maven Release Plugin configuration #7138
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
Conversation
|
Perhaps beyond the immediate scope of this, but given linked PRs and motivation, could we fail the build if it's a release build, and |
|
I am hoping the Maven folks will fix their bug, so I see no need to do what you are suggesting. |
daniel-beck
left a comment
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.
AFAIUI, depends on jenkins-infra/release#292, which is merged (i.e., this is fine).
basil
left a comment
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.
I plan to monitor the next weekly release to ensure that signing takes place as expected, then backport this to stable-2.361.
This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!
FTR another option might be in core to always require an alternative deployment repository. Even regular release builds (pre-2.361) have |
FTR they did, in 3.0.0-M7. |
Fixes a regression exposed by jenkinsci/pom#281 and #6914. In order for release artifacts to be signed by
maven-gpg-pluginandmaven-jarsigner-pluginduring therelease:preparegoal, we rely onjenkins/pom.xml
Lines 521 to 540 in d25704c
jenkins/war/pom.xml
Lines 623 to 648 in d25704c
releaseandsignprofiles respectively. To activate these profiles during therelease:preparegoal we currently rely onjenkins/pom.xml
Lines 428 to 429 in d25704c
<activeProfiles>setting insettings-release.xml. Note that we cannot enable these profiles usingreleaseProfilesbecause that setting only applies to therelease:stageandrelease:performgoals, not therelease:preparegoal.Proposed changelog entries
Support staging of releases (regression in 2.361).
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entriessection only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restrictedor have@since TODOJavadoc, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO")if applicable.evalto ease future introduction of Content-Security-Policy directives (see documentation on jenkins.io).Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge:Proposed changelog entriesare accurate, human-readable, and in the imperative moodupgrade-guide-neededlabel is set and there is aProposed upgrade guidelinessection in the PR title. (example)lts-candidateto be considered (see query).