maven-plugin-tools
maven-plugin-tools copied to clipboard
[MPLUGIN-349] Create a javadoc tags to Java5 annotations converter
QualiteSys QualiteSys opened MPLUGIN-349 and commented
I am working on source code CI tool chains. I would need to convert the old Javadoc tags notation for @goal, @phase, etc to the Java5 annotation provided since version 3.0 (https://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/using-annotations.html)
Is it possible to create a special goal to manipulate the orginal source code files and process the conversions ?
Thanks for your help
Didier
Issue Links:
- MPLUGIN-378 Detect legacy/javadoc Mojo definitions, warn to use Java 5 annotations
Sylwester Lachiewicz commented
We have lots of plugins, specially in ITs with old pre annotation javadoc tags.
maybe openrewrite can do it?