maven-plugin-tools icon indicating copy to clipboard operation
maven-plugin-tools copied to clipboard

[MPLUGIN-349] Create a javadoc tags to Java5 annotations converter

Open jira-importer opened this issue 7 years ago • 3 comments

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

jira-importer avatar Jan 12 '19 16:01 jira-importer

Elliotte Rusty Harold commented

We're focusing on Maven 4 now and not supporting pre 3.0 features.

jira-importer avatar Apr 13 '20 16:04 jira-importer

Sylwester Lachiewicz commented

We have lots of plugins, specially in ITs with old pre annotation javadoc tags. 

jira-importer avatar Apr 13 '20 16:04 jira-importer

maybe openrewrite can do it?

olamy avatar Jun 19 '25 01:06 olamy