Hi Antonio,
There is no CDI 2.0 API yet, so you must use the CDI 1.2 that is fetch transitively using
the dependency you mentioned.
AFAIK the new features are implemented using the "Experimental" prefix in the
Weld JARs.
Best Regards,
George Gastaldi
----- Mensagem original -----
De: "Antonio Goncalves" <antonio.goncalves(a)gmail.com>
Para: "Jozef Hartinger" <jharting(a)redhat.com>
Cc: "Weld" <weld-dev(a)lists.jboss.org>, "cdi-dev"
<cdi-dev(a)lists.jboss.org>
Enviadas: Segunda-feira, 27 de abril de 2015 18:36:48
Assunto: Re: [cdi-dev] Bootstrap API in Weld 3.0.0.Alpha8
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(a)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(a)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(a)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.