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 Android Security Essentials Live Lessons this week in the Android 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

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

Joined: Jun 24, 2003
Posts: 3274

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Hudson and Maven - pre build steps
Similar Threads
Maven job to run selenium tests
NetBeans and continous integration
Configure Hudson to build from Eclipse local worspace
Hudson and ssh problem someone can help me?
Free Automatic CodeReview tool