Hi all,
I just upgraded from 2.0.3 to 2.0.4 and my build broke. My unit tests rely
on a system property being set. The property was properly set in 2.0.3 and
is not properly set in 2.0.4. Has there been a change in the way properties
work that I missed?
Here is the surefire plugin configuration that I'm using:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<childDelegation>false</childDelegation>
<excludes>
<exclude>**/*TestCase.java</exclude>
</excludes>
<systemProperties>
<property>
<name>maven.build.dir</name>
<value>${build.directory}</value>
</property>
</systemProperties>
</configuration>
</plugin>
I changed my tests to output the value of the maven.build.dir property that
I'm setting and in 2.0.4 they output "${build.directory}". In 2.0.3 they
output (correctly) "target".
Any ideas?
Thanks,
Bill Simons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]