[jboss-dev-forums] [JBoss Build System Development] - Accessing maven dependency class from exec-maven-plugin clas
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Tue Sep 29 10:51:47 EDT 2009
Hi,
In Infinispan, we do some post processing of classes to generate JMX documentation by scanning annotations. We do this via a javadoc Doclet that gives us com.sun.javadoc.RootDoc instance which we can loop to check all classes for annotations.
Now, I'd like to use a similar approach that allowed me to generate jopr plugin's rhq-plugin.xml and this processing should involve a similar annotation scanning process before building the infinispan jopr plugin jar.
The obvious thing to do looks to me to have a executable class that is executed before process-classes and that generates the plugin xml. However, how do I get access to the list of maven dependency classes?
I could maybe use a doclet cos I'd get a RootDoc instance but this expects some kind of docletArtifcact where to lookup the doclet is precisely before this artifact is generated that I want to execute this doclet.
Thoughts?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257672#4257672
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257672
More information about the jboss-dev-forums
mailing list