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:
Vincent Siveton 2008-02-02 16:44:10 +00:00
parent e86a507c5d
commit 4733739db6
2 changed files with 8 additions and 1 deletions

View File

@ -316,5 +316,12 @@ private static void setCliProperty( String property,
}
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 );
}
}

View File

@ -84,6 +84,6 @@ public void testGetExecutionProperties()
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" ) );
}
}