We have a fairly large number of entity beans to be
generated by the ejbdoclet and are in the process of transitioning to Maven for
our project builds.
I am using Maven 1.0 and
maven-xdoclet-plugin-1.2.1
I mirrored the (currently working) settings in my
ant build into the project properties below.
My project/dependencies are likewise
below.
When I ran xdoclet:ejbdoclet, I got no jboss.xml or
jbosscmp-jdbc.xml.
I had not specified a template, but the xdoclet
default is apparently to use the template in the xdoclet vendor-specific
jar. Since I don't specify a template (required = "no" in the
documentation) I assumed that it wasn't necessary.
Looking at the jelly script, I noticed you must set
maven.xdoclet.ejbdoclet.jboss.{index}=true
in order to generate the additional required jboss
files.
Perhaps this should be included in the maven plugin
documentation since there's already a jboss example?
Is there an effort underway to further document the
maven plug-in or is that falling aside?
|