throw new MojoExecutionException("The following keys in <bundleArguments> duplicate other settings, please remove one or the other: " + duplicateKeys.toString());
}
params.putAll(bundleArguments);
Bundlers bundlers = Bundlers.createBundlersInstance(); // service discovery?
for (Bundler b : bundlers.getBundlers()) {
Map<String, ? super Object> localParams = new HashMap<>(params);
try {
//noinspection deprecation
if (bundleType != null && !"ALL".equals(bundleType) && !b.getBundleType().equals(bundleType)) {
// not this kind of bundler