You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/09/02 09:56:44 UTC
[PR] [MNG-12984] Backport: Fix invalid Automatic-Module-Name entries in mvnup plugin upgrades [maven]
gnodet opened a new pull request, #13013:
URL: https://github.com/apache/maven/pull/13013
Backport of #12995 to `maven-4.0.x`.
## Summary
Add `ModuleNameFixStrategy` (Priority 12) that scans packaging plugin configurations for `Automatic-Module-Name` manifest entries containing hyphens and replaces them with dots. Since `maven-archiver 3.3.0` (MSHARED-773), the archiver validates module names via `SourceVersion.isName()` and rejects hyphens. When `mvnup` upgrades `maven-jar-plugin` to versions using the newer archiver, previously-unchecked invalid names surface as build failures.
Cherry-picked cleanly from 799c1ad7b4 — no conflicts.
Closes #12984
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MNG-12984] Backport: Fix invalid Automatic-Module-Name entries in mvnup plugin upgrades [maven]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #13013:
URL: https://github.com/apache/maven/pull/13013
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org