Skip to content
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

Use plugin bom for dependency version definitions #326

Conversation

MarkEWaite
Copy link
Contributor

Use plugin bom for dependency version definitions

The most recent plugin bill of materials provides the authorize-project plugin version. Use that version rather than managing the version drectly in the plugin pom.

Apache commons-lang3-api is available as an API plugin that is managed by the bom. Test with the API plugin rather than including commons-lang3-api in the tests. Testing with the API plugin has the added benefit that it is using the same version that is installed in many Jenkins controllers.

Testing done

Automated tests pass on my Linux with Java 11.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@MarkEWaite MarkEWaite requested a review from a team as a code owner August 7, 2023 12:36
The most recent plugin bill of materials provides the authorize-project
plugin version.  Use that version rather than managing the version
drectly in the plugin pom.

Apache commons-lang3-api is available as an API plugin that is managed by
the bom.  Test with the API plugin rather than including commons-lang3-api
in the tests.  Testing with the API plugin has the added benefit that it
is using the same version that is installed in many Jenkins controllers.
@MarkEWaite MarkEWaite force-pushed the remove-authorize-project-version-declaration branch from 0f27746 to 6977d17 Compare August 7, 2023 12:38
@mawinter69 mawinter69 merged commit aaa174f into jenkinsci:master Aug 7, 2023
17 checks passed
@MarkEWaite MarkEWaite deleted the remove-authorize-project-version-declaration branch August 7, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants