o version and configuration of plugin goal being executed

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@770464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-04-30 22:00:28 +00:00
parent 962586d6a6
commit 3fad6dd633
1 changed files with 2 additions and 1 deletions

View File

@ -179,6 +179,7 @@ public class DefaultLifecycleExecutor
try
{
logger.info( executionDescription( mojoExecution ) );
System.out.println( mojoExecution.getConfiguration() );
pluginManager.executeMojo( session, mojoExecution );
}
catch ( PluginExecutionException e )
@ -198,7 +199,7 @@ public class DefaultLifecycleExecutor
{
PluginDescriptor pd = me.getMojoDescriptor().getPluginDescriptor();
StringBuffer sb = new StringBuffer();
sb.append( pd.getArtifactId() + ":" + pd.getVersion() + ":" + me.getMojoDescriptor().getGoal() );
sb.append( "Executing " + pd.getArtifactId() + "[" + pd.getVersion() + "]: " + me.getMojoDescriptor().getGoal() );
return sb.toString();
}