Skip to content

Enforce explicit plugin versions#94

Merged
kwart merged 1 commit into
intoolswetrust:masterfrom
Tillerino:enforce-maven-plugin-versions
Jun 21, 2023
Merged

Enforce explicit plugin versions#94
kwart merged 1 commit into
intoolswetrust:masterfrom
Tillerino:enforce-maven-plugin-versions

Conversation

@Tillerino
Copy link
Copy Markdown
Contributor

Hi!

I recently bumped the Maven version in Nixpgks (NixOS/nixpkgs#238746) and ran into some small but annoying manual effort w.r.t. the this package. The issue is that this package is packaged using the double invocation method which unfortunately breaks if not all maven plugin versions are set explicitly.

We're extending the documentation to prevent this (NixOS/nixpkgs#238774), but I'm reaching out to fix the packages which have already been packaged. In this PR, we explicitly set the versions of a few plugins which hadn't had their versions set explicitly before and add a check with the enforcer plugin to make sure this won't accidentally break in the future.

Note that the exact versions of the plugins that you're using are not important to us and please do change them as you see fit. We only ask that you explicitly set the versions of all plugins so that downstream upgrades can run automatically.

Thank you.

(This was copy-pasta as I have a few repositories to go through. Please just ask if anything is unclear.)

@kwart
Copy link
Copy Markdown
Member

kwart commented Jun 21, 2023

Thanks for the PR! I agree, unspecified plugin versions can cause trouble.

@kwart kwart merged commit 933303f into intoolswetrust:master Jun 21, 2023
@Tillerino Tillerino deleted the enforce-maven-plugin-versions branch June 21, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants