From 9e4e149f8ef762d479501df519b40d6b9f154d83 Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Mon, 27 Jun 2005 13:59:10 +0000 Subject: [PATCH] bumping maven-project dependency git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201992 13f79535-47bb-0310-9956-ffa450edef68 --- maven-core/pom.xml | 2 +- .../java/org/apache/maven/plugin/DefaultPluginManager.java | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/maven-core/pom.xml b/maven-core/pom.xml index 8deab22974..c8209d911d 100644 --- a/maven-core/pom.xml +++ b/maven-core/pom.xml @@ -35,7 +35,7 @@ org.apache.maven maven-project - 2.0-alpha-3 + 2.0-beta-1-SNAPSHOT org.apache.maven 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 8ee8c77ed3..a427533f26 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 @@ -43,6 +43,7 @@ import org.apache.maven.project.MavenProject; import org.apache.maven.project.MavenProjectBuilder; import org.apache.maven.project.artifact.MavenMetadataSource; import org.apache.maven.project.path.PathTranslator; +import org.apache.maven.reporting.AbstractMavenReport; import org.apache.maven.settings.Settings; import org.codehaus.plexus.PlexusConstants; import org.codehaus.plexus.PlexusContainer; @@ -454,7 +455,11 @@ public class DefaultPluginManager String executionId = mojoExecution.getExecutionId(); Xpp3Dom dom = project.getReportConfiguration( groupId, artifactId, executionId ); - reports.add( getConfiguredMojo( mojoDescriptor, session, dom, project ) ); + Mojo mojo = getConfiguredMojo( mojoDescriptor, session, dom, project ); + if ( mojo instanceof AbstractMavenReport) + { + reports.add( mojo ); + } } catch ( ComponentLookupException e ) {