From f8ca95ef391982f91701a7c152cb2359424fdccb Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Wed, 27 Jul 2011 10:36:18 +0000 Subject: [PATCH] [MNG-5113] NullPointerException on javadoc site generation git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1151420 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/model/plugin/DefaultReportingConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java index fe3031b639..a241c51207 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java @@ -116,8 +116,8 @@ public class DefaultReportingConverter reportPlugins.addChild( reportPlugin ); if ( !reporting.isExcludeDefaults() && !hasMavenProjectInfoReportsPlugin - && "org.apache.maven.plugins".equals( reportPlugin.getChild( "groupId" ).getValue() ) - && "maven-project-info-reports-plugin".equals( reportPlugin.getChild( "artifactId" ).getValue() ) ) + && "org.apache.maven.plugins".equals( plugin.getGroupId() ) + && "maven-project-info-reports-plugin".equals( plugin.getArtifactId() ) ) { hasMavenProjectInfoReportsPlugin = true; }