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: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to