public interface AggregatorBuildContext
Aggregate output is an output that includes information from multiple inputs. For example, jar archive is an aggregate of all archive entries. Maven plugin descriptor, i.e. the META-INF/maven/plugin.xml file, is an aggregate of all Mojo implementations in the Maven plugin.
Intended usage
@Inject AggregatorBuildContext context;
AggregateOutput output = context.registerOutput(outputFile);
output.associateInputs(sourceDirectory, includes, excludes);
output.create(new AggregateCreator() {
@Override
public void create(Output output, Iterable inputs) throws IOException {
// create the aggregate
}
});
| Modifier and Type | Method and Description |
|---|---|
InputSet |
newInputSet() |
InputSet newInputSet()
Copyright © 2015. All rights reserved.