[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
This commit is contained in:
Benjamin Bentmann 2011-07-27 10:36:18 +00:00
parent 84f7f7bbb1
commit f8ca95ef39
1 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ public class DefaultReportingConverter
reportPlugins.addChild( reportPlugin ); reportPlugins.addChild( reportPlugin );
if ( !reporting.isExcludeDefaults() && !hasMavenProjectInfoReportsPlugin if ( !reporting.isExcludeDefaults() && !hasMavenProjectInfoReportsPlugin
&& "org.apache.maven.plugins".equals( reportPlugin.getChild( "groupId" ).getValue() ) && "org.apache.maven.plugins".equals( plugin.getGroupId() )
&& "maven-project-info-reports-plugin".equals( reportPlugin.getChild( "artifactId" ).getValue() ) ) && "maven-project-info-reports-plugin".equals( plugin.getArtifactId() ) )
{ {
hasMavenProjectInfoReportsPlugin = true; hasMavenProjectInfoReportsPlugin = true;
} }