maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Per Abich <per.ab...@gmail.com>
Subject Passing Parameters to java/junit
Date Sat, 18 Sep 2004 13:13:26 GMT
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message