4.6. Dependency changes when using Maven

All Java EE dependencies included in JBoss Enterprise Application Platform 6 are now marked as provided.

4.6.1. Seam Bill of Materials

A Bill Of Materials (BOM) is a set of dependeny elements in the <dependencyManagement> section that is used to declare dependencies and their versions used in the application. The usage of Seam BOM is shown in Example 4.11, “Seam BOM usage”. The Seam BOM is deployed in JBoss Maven repository. For further information, see the Maven Repository User Guide in the Red Hat JBoss Web Framework Kit.

Example 4.11. Seam BOM usage


<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.jboss.seam</groupId>
      <artifactId>bom</artifactId>
      <version>2.3.5.Final-redhat-1</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
    ...
  </dependencies>
</dependencyManagement>
<dependencies>
  <dependency>
    <groupId>org.jboss.seam</groupId>
    <artifactId>jboss-seam</artifactId>
    <type>ejb</type>
  </dependency>
  ...
</dependencies>
For further assistance, refer to the updated Seam examples distributed with Seam.