Using Channels

Channels can be used to provision a WildFly server in goals that allow channels for provisioning. A WildFly Channel is a YAML file of Maven GAV's. Channels can be used to provision the latest version of WildFly and/or other components that generate a channel manifests.

Provision the Latest Release

The example below shows how to provision the latest version of WildFly.

<plugin>
    <groupId>org.wildfly.plugins</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <version>5.0.1.Final</version>
    <configuration>
        <feature-packs>
            <feature-pack>
                <groupId>org.wildfly</groupId>
                <artifactId>wildfly-ee-galleon-pack</artifactId>
            </feature-pack>
        </feature-packs>
        <channels>
            <channel>
                <manifest>
                    <groupId>org.wildfly.channels</groupId>
                    <artifactId>wildfly-ee</artifactId>
                </manifest>
            </channel>
        </channels>
    </configuration>
</plugin>

Provision Additional Channels

The example below will provision a specific version of WildFly with the latest version of RESTEasy on the latest 6.2.

<plugin>
    <groupId>org.wildfly.plugins</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <version>5.0.1.Final</version>
    <configuration>
        <feature-packs>
            <feature-pack>
                <groupId>org.wildfly</groupId>
                <artifactId>wildfly-ee-galleon-pack</artifactId>
            </feature-pack>
        </feature-packs>
        <channels>
            <channel>
                <manifest>
                    <groupId>org.wildfly.channels</groupId>
                    <artifactId>wildfly-ee</artifactId>
                    <version>32.0.1.Final</version>
                </manifest>
            </channel>
            <channel>
                <manifest>
                    <groupId>dev.resteasy.channels</groupId>
                    <artifactId>resteasy-6.2</artifactId>
                </manifest>
            </channel>
        </channels>
    </configuration>
</plugin>