mirror of https://github.com/apache/maven.git
test if properties were provided
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169498 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f0248e0084
commit
f9360a13d9
|
@ -168,6 +168,8 @@ public class SurefirePlugin
|
|||
System.setProperty( "basedir", basedir );
|
||||
|
||||
// Add all system properties configured by the user
|
||||
if ( systemProperties != null )
|
||||
{
|
||||
Enumeration propertyKeys = systemProperties.propertyNames();
|
||||
while ( propertyKeys.hasMoreElements() )
|
||||
{
|
||||
|
@ -175,6 +177,7 @@ public class SurefirePlugin
|
|||
System.setProperty( key, systemProperties.getProperty( key ) );
|
||||
getLog().debug( "Setting system property [" + key + "]=[" + systemProperties.getProperty( key ) + "]" );
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: we should really just trust the plugin classloader?
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue