the best way is to use the maven.junit.sysproperties parameter - check out the documentation for the test plugin.
- Brett On Sat, 18 Sep 2004 15:13:26 +0200, Per Abich <[EMAIL PROTECTED]> wrote: > I need to run my junits with "-D java.awt.headless=true" since I use > cruisecontrol & maven and don't want my unit-tests to fail because > some class I use is initializing some AWT-stuff (even though my app > doesn't create any windows, or graphical output) > > Where would I put this parameter? If I have it in project.properties, > it doesn't work, but passing it directly to maven does, but how do I > tell cruisecontrol to use it???? > > Anyone go any idea? > > Thanks > > Per > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
