Skip to content

Make empty classifier null (not empty string)#287

Merged
cstamas merged 3 commits intoapache:masterfrom
cstamas:classifier-null
Jun 26, 2025
Merged

Make empty classifier null (not empty string)#287
cstamas merged 3 commits intoapache:masterfrom
cstamas:classifier-null

Conversation

@cstamas
Copy link
Copy Markdown
Member

@cstamas cstamas commented Jun 26, 2025

And be consistent: as some legacy stuff in Maven and around (plugins) perform just nullcheck and not also empty string check, and get confused on empty string classifier. Plugins are (should) not be reused as dependencies, so despite the helper class is public I see no harm to alter it.

Supersedes #135
Fixes #138

And be consistent: as some legacy stuff in Maven and
around (plugins) perform just nullcheck and not also
empty string check, and get confused on empty string
classifier.
@cstamas cstamas self-assigned this Jun 26, 2025
@cstamas cstamas marked this pull request as ready for review June 26, 2025 14:18
Copy link
Copy Markdown

@bstansberry bstansberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cstamas!

@cstamas cstamas merged commit a9a8c84 into apache:master Jun 26, 2025
20 checks passed
@cstamas cstamas deleted the classifier-null branch June 26, 2025 16:25
@github-actions
Copy link
Copy Markdown

@cstamas The PR can't be associated to a milestone, because there are multiple open milestones. Please add the text "branch: master" to the description to the milestone where this PR belongs to.

@cstamas cstamas modified the milestone: 3.2.8 Jun 26, 2025
@cstamas cstamas added bug Something isn't working and removed maintenance labels Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GpgSignAttachedMojo attaches artifacts with an empty string classifier

3 participants