I started using this in my common-jar module, but when I added it to another
module (sequence-generator), the Sequence.hbm.xml gets put into the target
of the common-jar instead of the sequence-generator. The declaration as
given below is in each module seperately.
I assume it is something to do with <hibernatedoclet
destdir="${project.build.outputDirectory}" but I am not sure what the
resolution would be. Can anyone help me so that xdoclet generates files for
each module seperately?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
From: "Mike Perham" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" <[email protected]>
To: "Maven Users List" <[email protected]>
Subject: RE: [m2] examples of xdoclet generating hibernate mappings please?
Date: Tue, 3 Jan 2006 13:24:22 -0600
Mick, HTH:
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xdoclet-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>xdoclet</goal>
</goals>
<configuration>
<tasks>
<hibernatedoclet
destdir="${project.build.outputDirectory}"
excludedtags="@version,@author,@todo,@see,@desc" verbose="true">
<fileset dir="${basedir}/src/main/java">
<include name="**/beans/*.java" />
</fileset>
<hibernate version="3.0" />
</hibernatedoclet>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 1:17 PM
To: Maven Users List
Subject: [m2] examples of xdoclet generating hibernate mappings please?
I am new to generating hibernate mappings and want to get started with
this in M2. Can anyone please help me with some examples?
---------------------------------------------------------------------
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]