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:
John Dennis Casey 2005-02-01 22:44:43 +00:00
parent e687cfed61
commit 58ead792af
1 changed files with 1 additions and 1 deletions
maven-core/src/main/java/org/apache/maven/project

View File

@ -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);
}