[cdi-dev] JSR 250 version?

Mark Struberg struberg at yahoo.de
Fri Jun 2 04:50:09 EDT 2017


Well, it's true that the API does not have any dependency on common-annotations. 

But strictly speaking the CDI 2.0 Specification _does_ require common-annotations-1.3 for @Priority on @Observes parameters.

Should we have pointed this out in the spec pdf? 
We might add it as errata...

LieGrue,
strub

> Am 02.06.2017 um 07:57 schrieb Tomas Remes <tremes at redhat.com>:
> 
> 
> Hi Laird,
> 
> I think CDI API doesn't require this dependency, but Weld 3 needs JSR 250 dependency with 1.3 version. 
> 
> Tom 
> 
> ----- Original Message -----
> From: "Laird Nelson" <ljnelson at gmail.com>
> To: "cdi-dev" <cdi-dev at lists.jboss.org>
> Sent: Thursday, June 1, 2017 7:09:28 PM
> Subject: [cdi-dev] JSR 250 version?
> 
> I'm sure I missed something somewhere, but what version of JSR 250 (Common Annotations for the Java™ Platform™) does CDI 2.0 require? I assume it's 1.3, but I didn't see any reference to this annotations specification in the CDI specification. 
> 
> Thanks, 
> Best, 
> Laird 
> 
> _______________________________________________
> 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.
> 
> 
> 
> 
> _______________________________________________
> 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.




More information about the cdi-dev mailing list