diff --git a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java index 847a6bbdec..06c14f5815 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java @@ -1168,7 +1168,11 @@ public class DefaultPluginManager // check this with yourkit as a hot spot. try { - project.setDependencyArtifacts( project.createArtifacts( artifactFactory, null, null ) ); + // Don't recreate if already created - for effeciency, and because clover plugin adds to it + if ( project.getDependencyArtifacts() == null ) + { + project.setDependencyArtifacts( project.createArtifacts( artifactFactory, null, null ) ); + } } catch ( InvalidVersionSpecificationException e ) {