mirror of https://github.com/apache/maven.git
Rollback bad commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201994 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e4e149f8e
commit
e7e0795a20
|
@ -43,7 +43,6 @@ import org.apache.maven.project.MavenProject;
|
||||||
import org.apache.maven.project.MavenProjectBuilder;
|
import org.apache.maven.project.MavenProjectBuilder;
|
||||||
import org.apache.maven.project.artifact.MavenMetadataSource;
|
import org.apache.maven.project.artifact.MavenMetadataSource;
|
||||||
import org.apache.maven.project.path.PathTranslator;
|
import org.apache.maven.project.path.PathTranslator;
|
||||||
import org.apache.maven.reporting.AbstractMavenReport;
|
|
||||||
import org.apache.maven.settings.Settings;
|
import org.apache.maven.settings.Settings;
|
||||||
import org.codehaus.plexus.PlexusConstants;
|
import org.codehaus.plexus.PlexusConstants;
|
||||||
import org.codehaus.plexus.PlexusContainer;
|
import org.codehaus.plexus.PlexusContainer;
|
||||||
|
@ -455,11 +454,7 @@ public class DefaultPluginManager
|
||||||
String executionId = mojoExecution.getExecutionId();
|
String executionId = mojoExecution.getExecutionId();
|
||||||
Xpp3Dom dom = project.getReportConfiguration( groupId, artifactId, executionId );
|
Xpp3Dom dom = project.getReportConfiguration( groupId, artifactId, executionId );
|
||||||
|
|
||||||
Mojo mojo = getConfiguredMojo( mojoDescriptor, session, dom, project );
|
reports.add( getConfiguredMojo( mojoDescriptor, session, dom, project ) );
|
||||||
if ( mojo instanceof AbstractMavenReport)
|
|
||||||
{
|
|
||||||
reports.add( mojo );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch ( ComponentLookupException e )
|
catch ( ComponentLookupException e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue