Hi,

I have a pom for creating the database via
hibernate3 with hbm2ddl, hbm2java.  This works fine.  
This pom packages the jar for the hibernate pojo's.

I also added the sql plugin and added some sql statements to drop db, create
db,
and run the sql created from the hbm2ddl.  I found that for the sql plugin I
have to tie
the sql execution to a specific phase( package in my case). maybe I should
put this in
it's own pom.

My real question is, when you say  "manually with ant scripts
that run before/after our builds/deploys" 

What are you using to drive your build?

What about a developer that checks out this project for the
first time, how do they create a local version of the DB, do they need
to know to run the ant script as a separate step?

thanks,
Chris


This is the second time you've asked, so I figured I'd reply with what
I know, which isn't much.

1) Not that I am aware of.
2) Not that I am aware of. We handle this manually with ant scripts
that run before/after our builds/deploys.

Wayne


-- 
View this message in context: 
http://www.nabble.com/Database-lifecycle-in-Maven-tf4217563s177.html#a12067434
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to