mirror of https://github.com/apache/maven.git
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:
parent
89d5337816
commit
9e4e149f8e
|
@ -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>
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue