/** * @return {@code true} if this mojo forks either a goal or the lifecycle, {@code false} otherwise. */ public boolean isForking() { return ( getExecuteGoal() != null && getExecuteGoal().length() > 0 ) || ( getExecutePhase() != null && getExecutePhase().length() > 0 ); }
/** * @return {@code true} if this mojo forks either a goal or the lifecycle, {@code false} otherwise. */ public boolean isForking() { return ( getExecuteGoal() != null && getExecuteGoal().length() > 0 ) || ( getExecutePhase() != null && getExecutePhase().length() > 0 ); }
private void appendForkInfo( MessageBuilder buffer, MojoDescriptor md ) { StringBuilder buff = new StringBuilder(); if ( StringUtils.isNotEmpty( md.getExecutePhase() ) ) { // forked phase if ( StringUtils.isNotEmpty( md.getExecuteLifecycle() ) ) { buff.append( '[' ); buff.append( md.getExecuteLifecycle() ); buff.append( ']' ); } buff.append( md.getExecutePhase() ); } else { // forked goal buff.append( ':' ); buff.append( md.getExecuteGoal() ); } buffer.strong( buff.toString() ); }
if ( StringUtils.isNotEmpty( mojoDescriptor.getExecutePhase() ) )
String forkedPhase = mojoDescriptor.getExecutePhase();
/** * @return {@code true} if this mojo forks either a goal or the lifecycle, {@code false} otherwise. */ public boolean isForking() { return ( getExecuteGoal() != null && getExecuteGoal().length() > 0 ) || ( getExecutePhase() != null && getExecutePhase().length() > 0 ); }
private void appendForkInfo( MessageBuilder buffer, MojoDescriptor md ) { StringBuilder buff = new StringBuilder(); if ( StringUtils.isNotEmpty( md.getExecutePhase() ) ) { // forked phase if ( StringUtils.isNotEmpty( md.getExecuteLifecycle() ) ) { buff.append( '[' ); buff.append( md.getExecuteLifecycle() ); buff.append( ']' ); } buff.append( md.getExecutePhase() ); } else { // forked goal buff.append( ':' ); buff.append( md.getExecuteGoal() ); } buffer.strong( buff.toString() ); }
value = descriptor.getExecutePhase(); if (StringUtils.isNotEmpty(value)) { w.printBullet(
if ( StringUtils.isNotEmpty( mojoDescriptor.getExecutePhase() ) ) GeneratorUtils.element( w, "executePhase", mojoDescriptor.getExecutePhase() );
if ( mojoDescriptor.getExecutePhase() != null ) PluginUtils.element( w, "executePhase", mojoDescriptor.getExecutePhase() );
if ( mojoDescriptor.getExecutePhase() != null ) PluginUtils.element( w, "executePhase", mojoDescriptor.getExecutePhase() );
value = mojoDescriptor.getExecutePhase(); if ( StringUtils.isNotEmpty( value ) )
value = mojoDescriptor.getExecutePhase(); if ( StringUtils.isNotEmpty( value ) )
value = mojoDescriptor.getExecutePhase(); if ( StringUtils.isNotEmpty( value ) )