mirror of https://github.com/apache/maven.git
o over-specified the dependency's properties empty-check...
Dependencies should be able to override the default properties simply by supplying <properties/>. This change enables that. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e687cfed61
commit
58ead792af
maven-core/src/main/java/org/apache/maven/project
|
@ -72,7 +72,7 @@ public class DefaultProjectDefaultsInjector implements ProjectDefaultsInjector
|
|||
|
||||
Properties depProps = dep.getProperties();
|
||||
Properties depdefProps = depdef.getProperties();
|
||||
if((depProps == null || depProps.isEmpty()) && depdefProps != null)
|
||||
if(depProps == null && depdefProps != null)
|
||||
{
|
||||
dep.setProperties(depdefProps);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue