Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

NOTE Weld Extensions is being renamed to Seam Solder. It will retain the same focus and continue to be portable to any CDI implementation.

Download Weld and CDI TCK releases

Note: Weld is also available through Maven.

Package Version Category Size Released License
Weld 2.0 2.0.3.Final Final 48.4 MB 22.7.2013 ASL 2.0 Notes Download
Weld 1.2 1.2.0.Beta1 Preview (with OSGi) 24.5 MB 12.10.2012 ASL 2.0 Notes Download
Weld 1.1 1.1.10.Final Final 21.3 MB 12.10.2012 ASL 2.0 Notes Download
Weld 1.0 1.0.1.Final Final 21.0 MB 23.02.2010 ASL 2.0 Notes Download
CDI 1.1 TCK 1.1.0.Final Final 7.6 MB 25.4.2013 ASL 2.0 Notes Download
CDI 1.0 TCK 1.0.4.SP1 Final 29.1 MB 17.01.2011 ASL 2.0 Notes Download

Getting started

To get started with Weld after you have downloaded it, please follow Chapter 6 Getting started with Weld in the Reference Documentation.

Weld and JBoss Application Server

There are two options for running Weld in JBoss Application Server. The recommended option is to download the most recent JBoss Application Server 7.x, which includes Weld. For either option, there is no need to install any additional libraries, just deploy your application as you normally would, since JBoss AS includes Weld for you.

Weld and other containers

Weld also supports these containers:

Java version requirements

Java 5 or higher is required for all Weld releases.

Weld in Maven

Weld is available from the JBoss Maven Repository:

  • Group Id: javax.enterprise
  • Artifact Ids: cdi-api
  • Group Id: org.jboss.weld
  • Artifact Ids: weld-core, weld-api, weld-spi
Maven 3.0 is required

To use Weld, we recommend enabling the JBoss repository in your settings.xml by adding this profile:

   <profile>
      <id>jboss-public-repository</id>
      <!-- Repository is active unless explicitly disabled e.g. -P!jboss-public-repository -->
      <activation>
         <property>
            <name>jboss-public-repository</name>
            <value>!false</value>
         </property>
      </activation>
      <repositories>
        <repository>
          <id>jboss-public-repository-group</id>
          <name>JBoss Public Maven Repository Group</name>
          <url>http://repository.jboss.org/nexus/content/groups/public</url>
          <layout>default</layout>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
          <snapshots>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>jboss-public-repository-group</id>
          <name>JBoss Public Maven Repository Group</name>
          <url>http://repository.jboss.org/nexus/content/groups/public</url>
          <layout>default</layout>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>

Alternatively, you can add the profile to your project POMs.

CDI TCK in Maven

The CDI TCK is also available from the JBoss Maven Repository:

CDI 1.0

  • Group Id: org.jboss.jsr299.tck
  • Artifact Ids: jsr299-tck-impl, jsr299-tck-api

CDI 1.1

  • Group Id: org.jboss.cdi.tck
  • Artifact Ids: cdi-tck-impl, cdi-tck-api
Maven 3.0 is required