Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Weld, including integrations for Servlet containers and Java SE, examples and documentation
Failed to load latest commit information.
bom [maven-release-plugin] prepare for next development iteration
bundles [maven-release-plugin] prepare for next development iteration
docs [maven-release-plugin] prepare for next development iteration
environments Change javadoc to regular java comments in package-info.java files
examples [maven-release-plugin] prepare for next development iteration
ide-configs Set max line length to 160
impl Change javadoc to regular java comments in package-info.java files
inject-tck-runner [maven-release-plugin] prepare for next development iteration
jboss-as [maven-release-plugin] prepare for next development iteration
jboss-tck-runner [maven-release-plugin] prepare for next development iteration
jsf [maven-release-plugin] prepare for next development iteration
porting-package [maven-release-plugin] prepare for next development iteration
probe Probe - configuration view - show default values
tests-arquillian [maven-release-plugin] prepare for next development iteration
tests-common [maven-release-plugin] prepare for next development iteration
tests [maven-release-plugin] prepare for next development iteration
.gitignore WELD-1826 Weld SE works in a fat jar
.travis.yml Use JDK8 in travis-ci builds
README.md Improve README file with instructions on how to run tests in a container
merge.sh Automated merge script
pom.xml [maven-release-plugin] prepare for next development iteration

README.md

Weld

Weld is the reference implementation of CDI: Contexts and Dependency Injection for the Java EE Platform which is the Java standard for dependency injection and contextual lifecycle management and one of the most important and popular parts of the Java EE platform.

Weld is integrated into many Java EE application servers such as WildFly, JBoss Enterprise Application Platform, GlassFish, Oracle WebLogic and others. Weld can also be used in a Servlet-only environment (Tomcat, Jetty) or plain Java SE environment.

See http://weld.cdi-spec.org for more details.

Building Weld

To build Weld simply run

$ mvn clean install

Upgrading Weld in WildFly

Firstly, set the JBOSS_HOME environment property to point to your WildFly installation

$ export JBOSS_HOME=/opt/wildfly8

Then, run the upgrade script

$ mvn package -Pupdate-jboss-as -f jboss-as/pom.xml -Dweld.update.version=${weld.version}

where ${weld.version} is the version of Weld you want to use

Running integration tests and the TCK on WildFly 8.2

Follow the steps above to set the JBOSS_HOME environment property and to upgrade Weld within WildFly. Then, run:

$ mvn clean verify -Dincontainer -f tests-arquillian/pom.xml

$ mvn clean verify -Dincontainer -f jboss-tck-runner/pom.xml

Running integration tests and the TCK on WildFly 9.x

Follow the steps above to set the JBOSS_HOME environment property and to upgrade Weld within WildFly. Then, run:

$ mvn clean verify -Dincontainer=wildfly9 -f tests-arquillian/pom.xml

$ mvn clean verify -Dincontainer=wildfly9 -f jboss-tck-runner/pom.xml

Something went wrong with that request. Please try again.