Weld, including integrations for Servlet containers and Java SE, examples and documentation
Java JavaScript Other
Latest commit 94c877e Feb 20, 2017 @antoinesd antoinesd committed with mkouba WELD-2335 InterceptionFactory used on interface causes NPE
add a test on type to have it fails gracefully
Permalink
Failed to load latest commit information.
bom [maven-release-plugin] prepare for next development iteration Jan 20, 2017
bundles/osgi [maven-release-plugin] prepare for next development iteration Jan 20, 2017
docs/reference WELD-2325 document trimmed bean archive Jan 30, 2017
environments WELD-2340 Fire ContainerInitialized event after ShutdownHook registra… Feb 22, 2017
examples WELD-2139 probe - provide information about conflicting Feb 2, 2017
ide-configs Set max line length to 160 Jun 7, 2013
impl WELD-2335 InterceptionFactory used on interface causes NPE Feb 22, 2017
inject-tck-runner [maven-release-plugin] prepare for next development iteration Jan 20, 2017
jboss-as [maven-release-plugin] prepare for next development iteration Jan 20, 2017
jboss-tck-runner [maven-release-plugin] prepare for next development iteration Jan 20, 2017
modules WELD-2330 Improve logging in DeferredEventNotification. Feb 8, 2017
porting-package [maven-release-plugin] prepare for next development iteration Jan 20, 2017
probe WELD-2302 Wro4j maven plugin does not work with JDK 9 Feb 20, 2017
tests-arquillian WELD-2335 InterceptionFactory used on interface causes NPE Feb 22, 2017
tests-common [maven-release-plugin] prepare for next development iteration Jan 20, 2017
tests [maven-release-plugin] prepare for next development iteration Jan 20, 2017
.gitignore WELD-1826 Weld SE works in a fat jar Feb 2, 2015
.travis.yml Travis - cache maven repo Feb 21, 2017
LICENSE WELD-2173 add LICENSE file. Jun 9, 2016
README.md Update README.md Feb 25, 2016
pom.xml Update jacoco version. Feb 1, 2017

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