You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alauddin <al...@yahoo.com> on 2007/01/23 11:19:13 UTC

how to generate hibernate .hbm.xml file from xdoclet tag using maven

Hi,

how to generate hibernate .hbm.xml file from xdoclet tag using maven while
mvn compile or deploy....
I achive this using ant but maven how can i proceed  ?

Any help appriciated.
Alauddin
-- 
View this message in context: http://www.nabble.com/how-to-generate-hibernate-.hbm.xml-file-from-xdoclet-tag-using-maven-tf3063259s177.html#a8518869
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how to generate hibernate .hbm.xml file from xdoclet tag using maven

Posted by nicolas de loof <ni...@gmail.com>.
            <plugin>
                <artifactId>xdoclet-maven-plugin</artifactId>
                <groupId>org.codehaus.mojo</groupId>
                <executions>
                    <execution>
                        <id>xdoclet</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>xdoclet</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <tasks>
                        <hibernatedoclet
                            destdir="${project.build.outputDirectory}">
                            <fileset dir="${basedir}/src/main/java"
                                includes="**/domain/*.java" />
                            <hibernate version="3.0" />
                        </hibernatedoclet>
                    </tasks>
                </configuration>
            </plugin>

2007/1/23, Alauddin <al...@yahoo.com>:
>
>
> Hi,
>
> how to generate hibernate .hbm.xml file from xdoclet tag using maven while
> mvn compile or deploy....
> I achive this using ant but maven how can i proceed  ?
>
> Any help appriciated.
> Alauddin
> --
> View this message in context:
> http://www.nabble.com/how-to-generate-hibernate-.hbm.xml-file-from-xdoclet-tag-using-maven-tf3063259s177.html#a8518869
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>