mirror of https://github.com/apache/maven.git
o don't filter out the plexus-interpolation
o show the project for which the mojo is executing git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@771751 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
91f871a2e5
commit
826881819b
|
@ -67,7 +67,7 @@ public class DefaultArtifactFilterManager
|
|||
artifacts.add( "plexus-component-api" );
|
||||
artifacts.add( "plexus-container-default" );
|
||||
artifacts.add( "plexus-interactivity-api" );
|
||||
artifacts.add( "plexus-interpolation" );
|
||||
//artifacts.add( "plexus-interpolation" );
|
||||
artifacts.add( "wagon-provider-api" );
|
||||
artifacts.add( "wagon-file" );
|
||||
artifacts.add( "wagon-http-lightweight" );
|
||||
|
|
|
@ -182,10 +182,10 @@ public class DefaultLifecycleExecutor
|
|||
{
|
||||
try
|
||||
{
|
||||
logger.info( executionDescription( mojoExecution ) );
|
||||
mojoExecution.getMojoDescriptor().getRealm().display();
|
||||
logger.info( executionDescription( mojoExecution, project ) );
|
||||
// mojoExecution.getMojoDescriptor().getRealm().display();
|
||||
// System.out.println( "!!!");
|
||||
// System.out.println( mojoExecution.getConfiguration() );
|
||||
System.out.println( mojoExecution.getConfiguration() );
|
||||
pluginManager.executeMojo( session, mojoExecution );
|
||||
}
|
||||
catch ( PluginExecutionException e )
|
||||
|
@ -201,11 +201,11 @@ public class DefaultLifecycleExecutor
|
|||
}
|
||||
}
|
||||
|
||||
private String executionDescription( MojoExecution me )
|
||||
private String executionDescription( MojoExecution me, MavenProject project )
|
||||
{
|
||||
PluginDescriptor pd = me.getMojoDescriptor().getPluginDescriptor();
|
||||
StringBuffer sb = new StringBuffer();
|
||||
sb.append( "Executing " + pd.getArtifactId() + "[" + pd.getVersion() + "]: " + me.getMojoDescriptor().getGoal() );
|
||||
sb.append( "Executing " + pd.getArtifactId() + "[" + pd.getVersion() + "]: " + me.getMojoDescriptor().getGoal() + " on " + project.getArtifactId() );
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue