Weld, including integrations for Servlet containers and Java SE, examples and documentation
Java JavaScript Other
Permalink
Failed to load latest commit information.
bom WELD-2115 add Weld OSGI bundle into bom file. May 2, 2016
bundles/osgi [maven-release-plugin] prepare for next development iteration Apr 26, 2016
docs/reference WELD-2219 Allow to export data after bootstrap Aug 22, 2016
environments WELD-2225 stick to new CDI 2.0-EDR2 SE API. Aug 25, 2016
examples Removing junction plugin from numberguess jsf sample. Aug 24, 2016
ide-configs Set max line length to 160 Jun 7, 2013
impl WELD-2203 Conform to CDI-596, use loggers, remove TODOs. Aug 26, 2016
inject-tck-runner Update Arquillian container Weld version. Jul 25, 2016
jboss-as Update weld-parent version to 35. Correction to ant task in jboss upd… Aug 29, 2016
jboss-tck-runner WELD-2225 stick to new CDI 2.0-EDR2 SE API. Aug 25, 2016
modules WELD-2199 remove unused code. Aug 2, 2016
porting-package [maven-release-plugin] prepare for next development iteration Apr 26, 2016
probe WELD-2219 Fix observers export Aug 22, 2016
tests-arquillian WELD-2212 Add documentation Aug 12, 2016
tests-common [maven-release-plugin] prepare for next development iteration Apr 26, 2016
tests WELD-2150 Move ActivateRequestScope to API Aug 12, 2016
.gitignore WELD-1826 Weld SE works in a fat jar Feb 2, 2015
.travis.yml Travis - migrate to container-based infrastructure Sep 9, 2015
LICENSE WELD-2173 add LICENSE file. Jun 9, 2016
README.md Update README.md Feb 25, 2016
merge.sh Automated merge script Nov 22, 2010
pom.xml Update weld-parent version to 35. Correction to ant task in jboss upd… Aug 29, 2016

README.md

Weld

Gitter Travis CI Build Status

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

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