Plugin configuration was including duplicate values. Now using sets.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@682238 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Britton Isbell 2008-08-04 01:24:31 +00:00
parent 8e4b27571d
commit 9a1ee9ed53
2 changed files with 3 additions and 3 deletions

View File

@ -457,7 +457,7 @@ public class ProjectUri
"http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/inherited";
public static String configuration =
"http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/configuration#collection";
"http://apache.org/maven/project/build/pluginManagement/plugins#collection/plugin/configuration#set";
}
}
}
@ -569,7 +569,7 @@ public class ProjectUri
"http://apache.org/maven/project/build/plugins#collection/plugin/inherited";
public static String configuration =
"http://apache.org/maven/project/build/plugins#collection/plugin/configuration#collection";
"http://apache.org/maven/project/build/plugins#collection/plugin/configuration#set";
}
}
}

View File

@ -154,7 +154,7 @@ public final class DefaultProjectBuilder
Arrays.asList( new ArtifactModelContainerFactory(), new IdModelContainerFactory() ) );
PomClassicDomainModel transformedDomainModel =
( (PomClassicDomainModel) ctx.transform( domainModels, transformer, transformer, properties ) );
( (PomClassicDomainModel) ctx.transform( domainModels, transformer, transformer, null, properties ) );
Model model = transformedDomainModel.getModel();
return new MavenProject( model );
}