/** {@inheritDoc} */ public String getRoleHint() { return getId(); }
/** {@inheritDoc} */ public String getRoleHint() { return getId(); }
@Override public String toString() { StringBuilder buffer = new StringBuilder( 128 ); if ( mojoDescriptor != null ) { buffer.append( mojoDescriptor.getId() ); } buffer.append( " {execution: " ).append( executionId ).append( '}' ); return buffer.toString(); }
private static String constructMessage( MojoExecution mojoExecution, Throwable cause ) { String message; if ( mojoExecution != null ) { message = "Execution " + mojoExecution.getExecutionId() + " of goal " + mojoExecution.getMojoDescriptor().getId() + " failed"; } else { message = "Mojo execution failed"; } if ( cause != null && StringUtils.isNotEmpty( cause.getMessage() ) ) { message += ": " + cause.getMessage(); } else { message += "."; } return message; }
"Configuring mojo '" + mojoDescriptor.getId() + "' with " + configuratorId + " configurator -->" ); String message = "Unable to parse configuration of mojo " + mojoDescriptor.getId(); if ( e.getFailedConfiguration() != null ) + " for configuration of mojo " + mojoDescriptor.getId(), e ); ps.println( "A required class was missing during configuration of mojo " + mojoDescriptor.getId() + ": " + e.getMessage() ); pluginRealm.display( ps ); PrintStream ps = new PrintStream( os ); ps.println( "An API incompatibility was encountered during configuration of mojo " + mojoDescriptor.getId() + ": " + e.getClass().getName() + ": " + e.getMessage() ); pluginRealm.display( ps );
logger.debug( "Configuring mojo " + mojoDescriptor.getId() + " from plugin realm " + pluginRealm );
ps.println( "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage() ); pluginRealm.display( ps ); ps.println( "An API incompatibility was encountered while executing " + mojoDescriptor.getId() + ": " + e.getClass().getName() + ": " + e.getMessage() ); pluginRealm.display( ps ); ps.println( "A type incompatibility occurred while executing " + mojoDescriptor.getId() + ": " + e.getMessage() ); pluginRealm.display( ps );
for ( MojoDescriptor unsafeGoal : unsafeGoals ) logger.warn( unsafeGoal.getId() );
/** {@inheritDoc} */ public String getRoleHint() { return getId(); }
/** {@inheritDoc} */ public String getRoleHint() { return getId(); }
.getSymbolicName(), "Failed to access classpath of mojo " + mojoExecution.getMojoDescriptor().getId(), e));