writer.write( " * " + helpDescriptor.getDescription() + LS ); writer.write( " *" + LS ); writer.write( " * @version generated on " + new Date() + LS );
writer.write( " * " + helpDescriptor.getDescription() + LS ); writer.write( " *" + LS ); writer.write( " * @version generated on " + new Date() + LS );
throws IOException String goalDescription = toDescription( descriptor.getDescription() );
throws IOException String goalDescription = toDescription( descriptor.getDescription() );
public void write(ConfluenceWikiWriter w) { w.appendBigHeading() .appendAnchor(descriptor.getGoal(), descriptor.getFullGoalName()) .println(); String description = (descriptor.getDescription() != null) ? decode(descriptor.getDescription()) : "No description."; w.printQuote(description); w.printNewParagraph(); writeAttributes( w); w.printNewParagraph(); writeParameterTable( w); }
getLog().debug("Found the following Mojos:"); for (MojoDescriptor mojo : mojos) { getLog().debug(format(" - %s : %s", mojo.getFullGoalName(), mojo.getDescription()));
protected java.util.List<Goal> writeGoalsAsChildren( Writer writer, String parentName, List<MojoDescriptor> mojos ) { final java.util.List<Goal> result = new java.util.ArrayList<Goal>(mojos.size()); try(final ConfluenceWikiWriter w = new ConfluenceWikiWriter(writer)) { w.printBiggestHeading("Plugin Goals"); w.println("|| Name || Description ||"); for (MojoDescriptor descriptor : mojos) { final Goal goal = new Goal(descriptor); w.print( '|' ); w.printf( "[%s|%s]",goal.descriptor.getFullGoalName(), goal.getPageName(parentName) ); w.print('|'); w.print(decode(goal.descriptor.getDescription())); w.println('|'); result.add(goal); } w.printNewParagraph(); } return result; }
+ GeneratorUtils.makeHtmlValid( mojo.getDeprecated() ); else if ( StringUtils.isNotEmpty( mojo.getDescription() ) ) description = GeneratorUtils.makeHtmlValid( mojo.getDescription() );
String description = mojoDescriptor.getDescription(); if ( helpDescriptor ) w.writeText( GeneratorUtils.toText( mojoDescriptor.getDescription() ) ); w.writeText( mojoDescriptor.getDescription() );
String description = mojoDescriptor.getDescription(); w.writeText( mojoDescriptor.getDescription() ); w.endElement();
private void merge( JClass jClass, MojoDescriptor mojoDescriptor ) if ( mojoDescriptor.getDescription() != null ) jClass.setDescription( mojoDescriptor.getDescription() );
private void merge( JClass jClass, MojoDescriptor mojoDescriptor ) if ( mojoDescriptor.getDescription() != null ) jClass.setDescription( mojoDescriptor.getDescription() );
String description = mojoDescriptor.getDescription(); w.writeText( mojoDescriptor.getDescription() ); w.endElement();
result.setDescription(mojo.getDescription()); result.setSince(mojo.getSince()); result.setRequiresDependencyResolution(mojo.getDependencyResolutionRequired());
result.setDescription(mojo.getDescription()); result.setSince(mojo.getSince()); result.setRequiresDependencyResolution(mojo.getDependencyResolutionRequired());
if ( StringUtils.isNotEmpty( mojoDescriptor.getDescription() ) ) w.writeMarkup( PluginUtils.makeHtmlValid( mojoDescriptor.getDescription() ) );
if ( StringUtils.isNotEmpty( mojoDescriptor.getDescription() ) ) w.writeMarkup( GeneratorUtils.makeHtmlValid( mojoDescriptor.getDescription() ) );
if ( StringUtils.isNotEmpty( mojoDescriptor.getDescription() ) ) w.writeMarkup( PluginUtils.makeHtmlValid( mojoDescriptor.getDescription() ) );