Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
3.2
-
None
-
None
-
Patch
Description
The attached patch adds annotations @Description, @Since, and @DeprecatedBecause, which can be used instead of Javadoc comments for describing a Mojo and its parameters.
My use-case for this feature is writing Maven plugins in Scala. This language supports annotations, but a Java parser will obviously not be able to extract description/since/deprecated information from Scala source files. (There is another plugin-tools implementation specifically for writing Scala plugins, which has its own set of annotations, but it is buggy, incomplete, and not under active development.)
Attachments
Attachments
Issue Links
- is duplicated by
-
MPLUGIN-329 support for "description" in mojo annotations / extractors for plugin.xml
- Closed
- is part of
-
MPLUGIN-189 add java 5 annotations support to mark Mojo sources
- Closed
- is superceded by
-
MPLUGIN-426 Description annotation for Mojo and Parameters
- Open