gnodet opened a new pull request, #12356:
URL: https://github.com/apache/maven/pull/12356

   ## Summary
   
   Backport of #12354 to `maven-4.0.x`.
   
   - Add `jaxb2-maven-plugin` (min version 3.2.0) to the mvnup plugin upgrade 
list
   - `jaxb2-maven-plugin` versions before 3.2.0 depend on `jaxb-parent:3.0.0` 
which contains `<Xlint:all />` — an element with an undeclared namespace prefix 
that Maven 4's namespace-aware StAX parser rejects
   - This causes transitive dependencies (`jaxb-core`, `jaxb-impl`) to be lost 
from the plugin classrealm, resulting in `ClassNotFoundException` at runtime
   - `jaxb-parent:3.0.2` (used by `jaxb2-maven-plugin` 3.2.0+) fixed the 
invalid XML upstream
   
   ## Test plan
   
   - [x] Added unit test verifying `jaxb2-maven-plugin` 3.1.0 gets upgraded to 
3.2.0
   - [x] All `PluginUpgradeStrategyTest` tests pass on `maven-4.0.x`
   - [x] Verified end-to-end: `jaxb2-maven-plugin:3.1.0` fails on Maven 4, 
`3.2.0` succeeds
   
   Closes #12353
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to