maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raisercostin <>
Subject Re: maven 2.1.0 not passing on system properties to java virtual machine
Date Tue, 05 May 2009 09:05:32 GMT

I don't think is a problem in either maven or surefire plugin.
Else the surefire is behaving differently.

It looks like now, when surefire forks the jvm, will not take all the system
properties from the parent jvm.
That's why you should pass whatever system properties you want for the
tests, using argLine.

So, both these should work

mvn2.1 test -DforkMode=never


mvn2.1 test -DargLine=""

, costin
View this message in context:
Sent from the Maven - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message