diff --git a/plugin/src/main/java/org/wildfly/plugin/common/Utils.java b/plugin/src/main/java/org/wildfly/plugin/common/Utils.java index d57c138d..a7596536 100644 --- a/plugin/src/main/java/org/wildfly/plugin/common/Utils.java +++ b/plugin/src/main/java/org/wildfly/plugin/common/Utils.java @@ -133,7 +133,6 @@ public static ScanResults scanDeployment(GlowConfig discoverProvisioningInfo, GalleonProvisioningConfig in = GalleonUtils.buildConfig(pm, featurePacks, layers, excludedLayers, galleonOptions, layersConfigurationFileName); inProvisioningFile = glowOutputFolder.resolve("glow-in-provisioning.xml"); - pm.newProvisioningBuilder(in).build().storeProvisioningConfig(in, outputFolder); try (Provisioning p = pm.newProvisioningBuilder(in).build()) { p.storeProvisioningConfig(in, inProvisioningFile); }