You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by thorsten maus <ma...@pirack.com> on 2004/02/15 10:30:44 UTC

maven jboss hibernate

was anybody able to get this combination running ??

-- creating *.hbm.xml files based on source files
-- creating the jboss-service.xml file accondingly to the created 
*.hbm.xml files
-- packing the *.hbm.xml files into a jar

thanks

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


RE: maven jboss hibernate

Posted by Tim Chen <tc...@tampabay.rr.com>.
Yes.. Read the about the xdoclet hibernate plugin.

As a quick start:

Include the following into your project.properties:
maven.xdoclet.hibernatedoclet.destdir=${maven.build.dir}/xdoclet/hiberna
tedoclet
maven.xdoclet.hibernatedoclet.fileset.0=true
maven.xdoclet.hibernatedoclet.fileset.0.dir=${maven.src.dir}/java
maven.xdoclet.hibernatedoclet.fileset.0.include=**/*.java
maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0

maven.xdoclet.hibernatedoclet.jbossservice.0=true
//include the remaining jbossservice tags that you need here.

The maven.xml file is pretty simple:
<project default="jar:install">
    <preGoal name="java:compile">
        <attainGoal name="xdoclet:hibernatedoclet"/>
    </preGoal>
</project>

Finally make sure that you have the correct xdoclet dependencies.

Tim Chen
tchen@tampabay.rr.com


-----Original Message-----
From: thorsten maus [mailto:maus@pirack.com] 
Sent: Sunday, February 15, 2004 4:31 AM
To: Maven Users List
Subject: maven jboss hibernate



was anybody able to get this combination running ??

-- creating *.hbm.xml files based on source files
-- creating the jboss-service.xml file accondingly to the created 
*.hbm.xml files
-- packing the *.hbm.xml files into a jar

thanks

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




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