maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <>
Subject Re: Plugins with Annotations ETA
Date Thu, 10 May 2012 18:45:33 GMT
On 05/09/2012 12:56 PM, Olivier Lamy wrote:
> we still need to do some javadoc parsing for @deprecated

Just look for @Deprecated - the real annotation - instead. (Note that javac will warn you
if you have the Javadoc tag without the annotation.)

> @since and comments for class/field description. So if annotations comes from
> reactor module (easy to scan sources) but if comes from a dependency I
> try to get the sources from the artifact with try to resolve the same
> artifact with classifier sources.

Would be simpler to define true annotations (marked @Documented) for the things you use, e.g.
@Since or @Description. Then there is no need to look for sources of binary 
dependencies, and no need to parse them. You are also insulated against Java language changes,
and can interoperate properly with other JVM languages compatible with JSR 175.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message