bumping maven-project dependency

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201992 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-06-27 13:59:10 +00:00
parent 89d5337816
commit 9e4e149f8e
2 changed files with 7 additions and 2 deletions

View File

@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.0-alpha-3</version>
<version>2.0-beta-1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>

View File

@ -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 )
{