Reputation: 9771
How can one exclude an aggregating project that does nothing but aggregating subproject from producing a jar file ?
Upvotes: 0
Views: 115
Reputation: 2453
You must disable the plugin for the aggregating project:
aggregatorProject.disablePlugins(AssemblyPlugin)
This will however disable the plugin for the aggregator and the aggregated projects.
You can enable the plugin for the aggregated projects by enabling them explicitly:
aggregatedProject.enablePlugins(AssemblyPlugin)
Upvotes: 1