maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject Surefire: empty string in systemPropertyVariables?
Date Tue, 05 Oct 2010 15:46:16 GMT
I recently changed a systemProperties configuration variable to be
systemPropertyVariables.

The old systemProperties element was able to deal with empty strings.  That
is, if you had:

<property>
<name>testDatabasePassword</name>
<value></value>
</property>

...everything worked fine; the test database got an empty string passed to
it.

I changed this to

<testDatabasePassword></testDatabasePassword>

...and mvn -X reports that the system property is being set to null.  Then I
don't see it in the list of system properties handed off to the test.

What would be the proper way to use an empty string here?

Maven 2.2.1, Surefire 2.6

Thanks,
Laird

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