aspose file tools
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
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply 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: 3268

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Hudson and Maven - pre build steps
 
Similar Threads
Hudson and ssh problem someone can help me?
Maven job to run selenium tests
Free Automatic CodeReview tool
NetBeans and continous integration
Configure Hudson to build from Eclipse local worspace