Closed bstansberry closed 4 years ago
…' mojo
https://issues.jboss.org/browse/GAL-287
I don't know how to write a test for this but this execution works in WildFly's testsuite/layers/pom.xml (and fails without the exclude-layers element):
<execution> <id>all-layers-provisioning-with-excludes-full</id> <goals> <goal>provision</goal> </goals> <phase>compile</phase> <configuration> <install-dir>${layers.install.dir}/test-all-layers-with-excludes</install-dir> <record-state>false</record-state> <log-time>${galleon.log.time}</log-time> <offline>true</offline> <plugin-options> <jboss-maven-dist/> <jboss-fork-embedded>${galleon.fork.embedded}</jboss-fork-embedded> <optional-packages>passive+</optional-packages> </plugin-options> <feature-packs> <feature-pack> <transitive>true</transitive> <groupId>org.wildfly.core</groupId> <artifactId>wildfly-core-galleon-pack</artifactId> <version>${version.org.wildfly.core}</version> <inherit-configs>false</inherit-configs> <inherit-packages>false</inherit-packages> </feature-pack> <feature-pack> <groupId>${project.groupId}</groupId> <artifactId>wildfly-servlet-galleon-pack</artifactId> <version>${project.version}</version> <inherit-configs>false</inherit-configs> <inherit-packages>false</inherit-packages> </feature-pack> <feature-pack> <groupId>${project.groupId}</groupId> <artifactId>wildfly-galleon-pack</artifactId> <version>${project.version}</version> <inherit-configs>false</inherit-configs> <inherit-packages>false</inherit-packages> </feature-pack> </feature-packs> <configurations> <config> <model>standalone</model> <name>standalone.xml</name> <layers> <layer>cdi</layer> <layer>cloud-profile</layer> <layer>datasources</layer> <layer>h2-driver</layer> <layer>h2-datasource</layer> <layer>h2-default-datasource</layer> <layer>ee</layer> <layer>ee-security</layer> <layer>jaxrs</layer> <layer>jms-activemq</layer> <layer>jpa-distributed</layer> <layer>observability</layer> <layer>resource-adapters</layer> <layer>transactions</layer> <layer>undertow</layer> <layer>undertow-legacy-https</layer> <layer>vault</layer> <layer>web-clustering</layer> </layers> <excluded-layers> <layer>jpa</layer> </excluded-layers> </config> </configurations> </configuration> </execution>
…' mojo
https://issues.jboss.org/browse/GAL-287
I don't know how to write a test for this but this execution works in WildFly's testsuite/layers/pom.xml (and fails without the exclude-layers element):