Yes, Bean Validation 1.1 depends on CDI 1.1.  However, the Apache-published
version of the 1.1 BV spec has not yet been formally released, so when
building you'll either need to enable the Apache snapshots repository or
enable the "ri" profile (i.e. -Pri) which will compile against the referenc
implementation's API instead.

HTH,
Matt


On Tue, Feb 4, 2014 at 12:33 PM, Chris Harris <[email protected]>wrote:

> Hi, Matt.
>
> Lol - I had a feeling that you'd say that.
>
> Sure.  I'll give it a try...sometime this week.
>
> My intent is to use the benefits that Bean Validation v1.1 provides
> working with CDI for JSF validation.  I've replaced TomEE 1.6's provided
> MyFaces with MyFaces 2.2 with no issues.  I'm still using the TomEE
> v1.6-provided CDI (1.0).
>
> Will I need to update OpenWebBeans to a CDI 1.1-compliant version as well?
>
>
> ---
> Chris H. from One Season
>
>
>
> On Feb 4, 2014, at 12:18 PM, Matt Benson <[email protected]> wrote:
>
> Hi, Chris--the alpha release hasn't been rolled yet, but the bold of heart
> can build the code at http://svn.apache.org/viewvc/bval/branches/bval-11/to 
> give it a spin.  We'd be grateful for any early feedback you might want
> to provide.
>
> Thanks,
> Matt
>
>
> On Tue, Feb 4, 2014 at 11:54 AM, Chris Harris <[email protected]>wrote:
>
>> Hi.
>>
>> I'm using TomEE v1.6 and would like to replace the provided BVal version
>> with a version that's compatible with the Bean Validation 1.1 spec.
>>
>> I've noticed v1.1.0-alpha on your JIRA, but I don't see a means of
>> grabbing the .jars, whether via a hyperlink or via Maven pointing to an
>> Apache SNAPSHOT or Release repo.
>>
>> How can I obtain v1.1.0-alpha?
>>
>> ---
>> Chris H. from One Season
>>
>>
>>
>>
>
>

Reply via email to