Hello Jochen

I had that same problem when I tried to write an annotation finder tool for
hibernate. Tried using qdox, but really doesn't like jdk1.5 annotations, so
what I did is write a specific tool in jdk1.5 and then include it in the
plugin using profiles and activation depending in the jdk. So you might be
able to write something like that use qdox for 1.4 and something annotation
specific for 1.5

Regards

Johann Reyes

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jochen Kuhnle
Sent: Sunday, April 09, 2006 11:25 AM
To: dev@maven.apache.org
Subject: Plugin descriptor extractor for JDK1.5 sources/annotations?

Hi,

since qdox has some problems with JDK 1.5 sources, is there a plugin 
descriptor extractor for JDK1.5 sources with annotations?

If not, I'd go ahead and write one. Looks fairly straightforward to me, 
except for the choice which extractor to use in a project, or in other 
words, how to prevent the qdox extractor from running.  Ideally, this 
would be configured in the plugin plugin section of the POM, but I do 
not know how to get this information down to the extractor. It is called 
through AbstractGeneratorMojo.execute() --> 
DefaultMojoScanner.populatePluginDescriptor(MavenProject, 
PluginDescriptor) --> JavaMojoDescriptorExtractor.execute(MavenProject, 
DescriptorExtractor). How do I get the plugin configuration here?

Regards,
Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to