Maybe someone who has done this can put a page up on the wiki? I tried to
this some months ago and failed then, and I haven't had time since to work
on the conversion from m1 to m2 again. This question has come up many times
on the mailing list already, but I don't know if any satisfactory answers
are to be found in the archives. Also some additional info if you use Java
5.0 would probably be in order.
regards,
Wim
2006/1/4, Karthik V <[EMAIL PROTECTED]>:
>
> I too need help on using ejbdoclet and hibernate doclet in m2 ... I have a
> working project done with m 1.0.2, but have to translate the
> project.properties and maven.xml to m2. Can you please point me to some
> link
> that gives more info? I've been desperately searching for this but I
> didn't
> find any docs other than mailing list threads.
>
> Karthik.
>
>
>
> On 1/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > 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]
> >
> >
>
>