]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1204] - org.apache.maven.archiva.repository.project.ProjectModelMerge.merge...
authorJevica Arianne B. Zurbano <jzurbano@apache.org>
Thu, 13 Aug 2009 11:00:51 +0000 (11:00 +0000)
committerJevica Arianne B. Zurbano <jzurbano@apache.org>
Thu, 13 Aug 2009 11:00:51 +0000 (11:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803840 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/ProjectModelMerge.java

index 01d8e9f2815e6acde9dc9fa00d205fc7d3b75c7a..a5b95987264c6942bb19323b9893ad6a9952e04d 100644 (file)
@@ -337,7 +337,12 @@ public class ProjectModelMerge
         while ( keys.hasMoreElements() )
         {
             String key = (String) keys.nextElement();
-            merged.put( key, merge( mainProperties.getProperty( key ), parentProperties.getProperty( key ) ) );
+            String value = merge( mainProperties.getProperty( key ), parentProperties.getProperty( key ) );
+            
+            if ( value != null )
+            {
+                merged.put( key, value );
+            }
         }
 
         return merged;