-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
---
-
---
Each quickstart only uses the Galleon layer(s) needed and currently there is no way to specify those, other than overriding the XML snippet on the shared-docs, e.g. https://github.com/wildfly/quickstart/blob/main/shared-doc/build-and-run-the-quickstart-with-bootable-jar.adoc?plain=1#L24 , which is non sustainable since each QS should avoid adding complexity to such common README sections.
Personally I don't think we need to provide README XML snippets exactly matching the quickstart pom.xml, the following should be enough for bootable-jar:
[source,xml,subs="attributes+"] ---- <profile> <id>bootable-jar</id> <build> <plugins> <plugin> <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-jar-maven-plugin</artifactId> <configuration> <feature-pack-location>wildfly@maven(org.jboss.universe:community-universe)#${version.server}</feature-pack-location> <layers>...</layers> <plugin-options> <jboss-fork-embedded>true</jboss-fork-embedded> </plugin-options> </configuration> <executions> <execution> <goals> <goal>package</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> ----
Similar for server provisioning and openshift profile snippets.