-
Bug
-
Resolution: Done
-
Major
-
3.0.0.Alpha3
-
None
This is example of plugin configuration
<plugin> <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-maven-plugin</artifactId> <version>3.0.0.Alpha3</version> <configuration> <feature-packs> <feature-pack> <location>org.wildfly:wildfly-galleon-pack:26.0.0.Final</location> <inherit-packages>true</inherit-packages> <inherit-configs>false</inherit-configs> </feature-pack> <feature-pack> <location>org.wildfly.cloud:wildfly-cloud-galleon-pack:1.0.0.Beta2</location> <inherit-packages>true</inherit-packages> <inherit-configs>true</inherit-configs> </feature-pack> </feature-packs> <galleon-options> <jboss-fork-embedded>true</jboss-fork-embedded> </galleon-options> <filename>ROOT.war</filename> </configuration> <executions> <execution> <goals> <goal>package</goal> </goals> </execution> </executions> </plugin>
When I want to provision full server (no layers) I need to specify those values of inherit-packages and inherit-configs
<feature-pack> <location>org.wildfly:wildfly-galleon-pack:26.0.0.Final</location> <inherit-packages>true</inherit-packages> <inherit-configs>false</inherit-configs> </feature-pack> <feature-pack> <location>org.wildfly.cloud:wildfly-cloud-galleon-pack:1.0.0.Beta2</location> <inherit-packages>true</inherit-packages> <inherit-configs>true</inherit-configs> </feature-pack>
When I want to provision layers default values are fine
<feature-pack> <location>org.wildfly:wildfly-galleon-pack:26.0.0.Final</location> </feature-pack> <feature-pack> <location>org.wildfly.cloud:wildfly-cloud-galleon-pack:1.0.0.Beta2</location> </feature-pack>
If this rule is driven by presence of layers configuration. Could plugin provide correct values automatically. Of course once user specify own values, that should have precedence.
Or at least could there be some error message describing to user what is going on?