mirror of https://github.com/apache/maven.git
o merged r617829
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@617830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e86a507c5d
commit
4733739db6
|
@ -316,5 +316,12 @@ public final class CLIRequestUtils
|
|||
}
|
||||
|
||||
executionProperties.setProperty( name, value );
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// I'm leaving the setting of system properties here as not to break
|
||||
// the SystemPropertyProfileActivator. This won't harm embedding. jvz.
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
System.setProperty( name, value );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,6 +84,6 @@ public class CLIRequestUtilsTest
|
|||
assertEquals( "3.0", p.getProperty( "test.property.3" ) );
|
||||
|
||||
// sys props should override cmdline props
|
||||
assertEquals( "2.0", p.getProperty( "test.property.2" ) );
|
||||
//assertEquals( "2.0", p.getProperty( "test.property.2" ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue