From b4ed779d737726f18a140496fbc2985cf9436cb1 Mon Sep 17 00:00:00 2001 From: Jean-Francois Denise Date: Mon, 14 Oct 2024 10:43:36 +0200 Subject: [PATCH] Fix for WFMP-277, Exception when discover-provisioning-info and feature-packs are set --- plugin/src/main/java/org/wildfly/plugin/common/Utils.java | 1 - 1 file changed, 1 deletion(-) 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); }