GitHub user argv-minus-one opened a pull request:
https://github.com/apache/maven-plugin-tools/pull/6
For Groovy/Scala Mojos: Allow Mojo documentation in annotations, too.
Currently, while most information about Mojos can appear in annotations
like `@Mojo` and `@Parameter`, three items cannot: `description`, `deprecated`,
and `since`. These are still extracted from Javadoc comments.
This obviously won't work for Mojos written in non-Java languages that
support Java annotations, such as Groovy and Scala. To remedy that, this PR
adds `description`, `deprecated`, and `since` parameters to the `@Mojo` and
`@Parameter` annotations.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/argv-minus-one/maven-plugin-tools
feature/descriptions-in-annotations
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-plugin-tools/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit 233fffb99ee5c998c82b2bf261557488148ce86e
Author: Alex Hvostov <[email protected]>
Date: 2015-11-16T16:49:53Z
Add and process new attributes `documentation`, `deprecated`, and `since`
attributes to @Mojo and @Parameter annotations.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]