Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hudson and Maven - pre build steps

 
Craig Taylor
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Have you thought about using DB Unit for this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic