|
Replies:
0
|
|
|
|
|
|
|
Creating javadoc for JAXB generated classes
Posted:
Aug 7, 2008 8:34 PM
|
|
|
I'm using the maven-jaxb-plugin in my Maven2 based project to generate a bunch of Java classes corresponding to my XMLSchema that is shared between client and server applications. The codegen part works great ... as per the instructions for the plugin, the JAXB source generator is indeed invoked at the right time, and the generated classes are compiled along with the manually created sources in the usual place (src/main/java). However, the javadoc plugin only wants to look at the classes in the default location. That's bad for me, because I'm decorating the schema with appropriate javadoc comments (the generated model classes are part of the public API for my service).
How can I use this plugin, but also convince the javadoc plugin to generate javadocs for both the default-located classes and the generated classes. I've tried lots of things (such as the <sourcepath> configuration directive for the javadoc plugin), but nothing has worked.
Craig
|
|
|
|