Thanks worked well.
But I have another question. What is the best practice naming for these value object as I don't want to keep them in a beans package. Should I move everything to a beans package, or should I use a name like UserValueObject?

--------------------------------------------------------------------------------
Thanks
Mick Knutson

http://www.BASELogic.com
http://www.MickKnutson.com

MSN Messenger: [EMAIL PROTECTED]
--------------------------------------------------------------------------------

----- Original Message ----- From: "Mike Perham" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Tuesday, January 03, 2006 12:26 PM
Subject: RE: [m2] examples of xdoclet generating hibernate mappings please?


Your DB Pom.  Only in the subproject POM that has the xdoclet markup.

-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 1:59 PM
To: Maven Users List
Subject: Re: [m2] examples of xdoclet generating hibernate mappings
please?

If I am splitting my project into sub-projects/modules, where would this
go?
into the main pom, or my db pom?

------------------------------------------------------------------------
--------
Thanks
Mick Knutson

http://www.BASELogic.com
http://www.MickKnutson.com

MSN Messenger: [EMAIL PROTECTED]
------------------------------------------------------------------------
--------

----- Original Message -----
From: "Mike Perham" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Tuesday, January 03, 2006 11:24 AM
Subject: RE: [m2] examples of xdoclet generating hibernate mappings
please?


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]



---------------------------------------------------------------------
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