wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Hudson and Maven - pre build steps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Hudson and Maven - pre build steps" Watch "Hudson and Maven - pre build steps" New topic
Author

Hudson and Maven - pre build steps

Craig Taylor
Ranch Hand

Joined: Jul 17, 2008
Posts: 64
For the test portion of my maven project I'd like to either configure hudson or maven to run a createDb script and subsequently, upon successful tests run the purgeDb script.

I've been unable to find anything in maven to help me modify the test target.

In hudson, because this is a maven target it doesn't give me the build steps that I've used previously to do something similar.

Any suggestions?
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi there,

Have you thought about using DB Unit for this?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hudson and Maven - pre build steps
 
Similar Threads
Configure Hudson to build from Eclipse local worspace
Hudson and ssh problem someone can help me?
Free Automatic CodeReview tool
NetBeans and continous integration
Maven job to run selenium tests