Hi Brian,thank-you for your feedback.I first thought that having 2 feature-packs would provide less confusion. The cloud feature-pack exposes a lot of env variables that will get ignored with bootable JAR. So my concern was more at the doc level.After having rethought at it, having a single feature-pack, as you mentioned, should be a better approach. Simpler to maintain, should avoid fp explosion and create a simpler User experience.Having the existing cloud fp to work for bootable JAR would imply:
The bash scripts installed by default will not break bootable JAR. They are ignored (we already ignore some files that get provisioned such as standalone launch scripts, some tools script). We would be able to exclude them at provisioning time for bootable JAR packaging but it would be not mandatory. We are introducing a new JBoss Modules module specific for Bootable JAR, that we could see installed in all cases even if not used in a non bootable JAR case (a very small module). We would be able to exclude it at provisioning time for nominal server installation but it would be not mandatory.So in the end we should be able to use the cloud feature-pack for both packaging without having to mandatorily adjust the provisioning configuration. The provisioning configuration could be adjusted to exclude some packages (bash scripts or bootable JAR specific JBoss Modules module) for optimal provisioned content.I am going to revisit the proposal to reflect this approach.From: Brian Stansberry <bstansbe@redhat.com>
Date: Wednesday, 6 August 2025 at 00:23
To: Jean Francois Denise <jdenise@redhat.com>
Cc: WildFly Dev <wildfly-dev@lists.jboss.org>
Subject: Re: [wildfly-dev] [proposal] WildFly Maven Plugin, package bootable JAR for the cloudSent from Outlook for Mac