Skip to content

Instantly share code, notes, and snippets.

@arthurtsang
Created February 18, 2013 22:11
Show Gist options
  • Save arthurtsang/4981239 to your computer and use it in GitHub Desktop.
Save arthurtsang/4981239 to your computer and use it in GitHub Desktop.
Aggregated Maven Report
@Mojo( name = "aggregate", aggregator = true, requiresDependencyResolution = ResolutionScope.COMPILE)
@Execute( phase = LifecyclePhase.GENERATE_SOURCES )
public class AggregatorGeminiDoc extends GeminiDoc {
@Override
protected boolean isAggregator(){ return true; }
@Override
public boolean canGenerateReport() {
return ( project.getModules().size() > 0);
}
@Override
public String getName(Locale locale) {
return "Aggregated Gemini Dependencies";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment