hboutemy opened a new issue, #1138:
URL: https://github.com/apache/maven-plugin-tools/issues/1138

   ### New feature, improvement proposal
   
   we deprecated `@Component` for some time now 
https://issues.apache.org/jira/browse/MPLUGIN-530
   
   with recent issue discovered https://github.com/apache/maven/pull/12555, it 
can be useful to get one step further and get a WARN hint when a plugin 
descriptor is written with a `<requirement>`, as currently, there is no message:
   
   ```
   [INFO] --- plugin:3.15.2:descriptor (default-descriptor) @ 
cyclonedx-maven-plugin ---
   [INFO] Using 'UTF-8' encoding to read mojo source files.
   [INFO] java-annotations mojo extractor found 3 mojo descriptors.
   [INFO] java-javadoc mojo extractor found 0 mojo descriptor.
   [INFO] ant mojo extractor found 0 mojo descriptor.
   [INFO] bsh mojo extractor found 0 mojo descriptor.
   ```


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