You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/02/23 08:06:22 UTC
[jira] Updated: (SUREFIRE-124) Empty system property value from POM
pluginManagement defaulting to the value of another property.
[ http://jira.codehaus.org/browse/SUREFIRE-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-124:
----------------------------------
Fix Version/s: (was: 2.3)
2.4
> Empty system property value from POM pluginManagement defaulting to the value of another property.
> --------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-124
> URL: http://jira.codehaus.org/browse/SUREFIRE-124
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 1.5.3 (2.1.3 plugin), 2.0 (2.2 plugin)
> Environment: Maven 2.0.4/Linux
> Reporter: Randy Watler
> Priority: Minor
> Fix For: 2.4
>
>
> The "test.empty" system property ends up with the value "defined.value".
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.1.3</version>
> <configuration>
> <property>
> <name>test.defined</name>
> <value>defined.value</value>
> </property>
> <property>
> <name>test.empty</name>
> <value></value>
> </property>
> </configuration>
> </plugin>
> [DEBUG] (f) systemProperties = {test.defined=defined.value, test.empty=defined.value}
> Here is the workaround, (test.empty ends up with value ""):
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.1.3</version>
> <configuration>
> <property>
> <name>test.empty</name>
> <value></value>
> </property>
> <property>
> <name>test.defined</name>
> <value>defined.value</value>
> </property>
> </configuration>
> </plugin>
> [DEBUG] (f) systemProperties = {test.defined=defined.value, test.empty=}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira