diff --git a/maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java b/maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java index 5d6901b0dd..b2bab450b1 100644 --- a/maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java +++ b/maven-project/src/main/java/org/apache/maven/project/injection/DefaultProfileInjector.java @@ -476,9 +476,9 @@ public class DefaultProfileInjector } } - profileReporting.setPlugins( new ArrayList( mergedReportPlugins.values() ) ); + modelReporting.setPlugins( new ArrayList( mergedReportPlugins.values() ) ); - profileReporting.flushReportPluginMap(); + modelReporting.flushReportPluginMap(); } } }