[cdi-dev] Bootstrap API in Weld 3.0.0.Alpha8
Michael Remijan
mjremijan at yahoo.com
Tue Apr 28 21:24:47 EDT 2015
Hi cdi-dev,
I'm developing an SE application using Weld and I just pulled in the 3.0.0.Alpha8 version. I immediately ran into an Unsupported major.minor version 52.0 error. Is Weld 3 going to be only Java 8? Java 7 apps won't be able to use it?
Thanks!
On Tuesday, April 28, 2015 12:59 AM, Jozef Hartinger <jharting at redhat.com> wrote:
Hi Antonio,
the artifact you mentioned is correct. The CDI API 1.2, which is transitively resolved, is correct also. The builder API is present in the Weld-specific org.jboss.weld.environment.se package.
HTH,
Jozef
On 04/27/2015 11:36 PM, Antonio Goncalves wrote:
Hi Josef,
Which Maven artifact is needed to start playing with it ? When I use this one below, I miss all the CDI APIs (javax.inject.*, javax.enterprise.inject.*, etc.) :
<dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se-core</artifactId> <version>3.0.0.Alpha8</version> </dependency>
Is there an artifact that also depends on the new version of the API ? Or we just use the "old" CDI 1.2 APIs ?
Thanks Antonio
On Mon, Apr 27, 2015 at 4:57 PM, Jozef Hartinger <jharting at redhat.com> wrote:
We extended Weld's API for Java SE in the recent 3.0.0.Alpha8 release.
The main feature is a new builder for programmatic configuration of
managed classes, packages, enabled interceptors and others. This could
serve as a draft for the bootstrap API to be added to CDI.
See the release blog post for more details:
http://weld.cdi-spec.org/news/2015/04/21/weld-300Alpha8/
Jozef
_______________________________________________
cdi-dev mailing list
cdi-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
--
Antonio Goncalves
Software architect, Java Champion and Pluralsight author
Web site | Twitter | LinkedIn | Pluralsight | Paris JUG | Devoxx France
_______________________________________________
cdi-dev mailing list
cdi-dev at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20150429/a87cfa84/attachment-0001.html
More information about the cdi-dev
mailing list