diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/ProjectModelMerge.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/ProjectModelMerge.java index 01d8e9f28..a5b959872 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/ProjectModelMerge.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/ProjectModelMerge.java @@ -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;