Chapter 4. Use the JBoss Stacks

A number of defined Maven JBoss stacks are provided as part of the JBoss Web Framework release. The purpose of these stacks is to provide tested and certified collections of version-specific dependencies required by individual frameworks included with this release of JBoss Web Framework Kit. Each stack is defined by a Bill of Materials (BOM) in a .pom file. Specifying these BOMs in your project pom.xml files enables use of the appropriate stacks and removes the need to explicitly specify the versions of stack artifacts required by your project.
This section details the JBoss stacks available and provides instructions for using them in your projects.

4.1. Available JBoss Stacks

All of the BOMs defining the JBoss stacks associated with this release of JBoss Web Framework Kit are available in the Maven repository .zip file available to download from the Red Hat Customer Portal and individually from the JBoss Developer website.
The JBoss stacks are provided as part of two groups: com.redhat.jboss.wfk.boms and org.jboss.bom.wfk. These stacks specify versions of all relevant dependencies required when using JBoss Web Framework Kit frameworks with the supported platforms. The stacks in the org.jboss.bom.wfk group additionally define versions of all dependencies on Java EE 6 Specification APIs. The tables here list the stacks in each group and the core frameworks of each stack.

Table 4.1. JBoss Stacks in com.redhat.jboss.wfk.boms group

JBoss Stack Frameworks
spring-2.5-bom [a] Spring 2.5 and Snowdrop
spring-3.0-bom [b] Spring 3.0 and Snowdrop
spring-3.1-bom [c] Spring 3.1 and Snowdrop
spring-3.2-bom [d] Spring 3.2 and Snowdrop
[a] Spring 2.5 is deprecated as of JBoss Web Framework Kit 2.4.0 but continues to be tested and supported in JBoss Web Framework Kit 2.
[b] Spring 3.0 is deprecated as of JBoss Web Framework Kit 2.5.0 but continues to be tested and supported in JBoss Web Framework Kit 2.
[c] Spring 3.1 is deprecated as of JBoss Web Framework Kit 2.5.0 but continues to be tested and supported in JBoss Web Framework Kit 2.
[d] Use the replacement jboss-javaee-6.0-with-spring stack introduced in JBoss Web Framework Kit 2.4.0 instead of this stack.

Table 4.2. JBoss Stacks in org.jboss.bom.wfk group

JBoss Stack Frameworks
jboss-javaee-6.0-with-deltaspike Deltaspike
jboss-javaee-6.0-with-hsearch Hibernate Search
jboss-javaee-6.0-with-richfaces RichFaces
jboss-javaee-6.0-with-spring Spring 3.2 and Snowdrop
jboss-javaee-6.0-with-spring4 Spring 4 and Snowdrop
jboss-javaee-6.0-with-spring4.1 Spring 4.1 and Snowdrop
jboss-javaee-6.0-with-tools Arquillian, Shrinkwrap, Selenium and other tools