slawekjaranowski opened a new pull request, #1145:
URL: https://github.com/apache/maven-plugin-tools/pull/1145

   ### What changed
   - Added `ValidateComponentRequirement` to scan generated `PluginDescriptor` 
mojos for Plexus component requirements (`@Component`-mapped requirements).
   - Extended integration test verification 
(`java-basic-annotations/verify.groovy`) to assert the expected warning 
messages in `build.log`.
   
   ### Why
   - `@Component` usage in mojos is deprecated, but generation currently gives 
no visible signal when `<requirement>` entries are produced.
   - A warning at descriptor generation time helps plugin authors migrate 
toward JSR 330 injection and avoid hidden legacy patterns.
   
   Fixes #1138
   
   


-- 
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