You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Bengt Rodehav <be...@rodehav.com> on 2014/07/18 14:16:27 UTC
Version problem with org.apache.servicemix.specs.jsr303-api-1.1.0
I am trying to use version 5.0.2.Final_1
of org.apache.servicemix.bundles.hibernate-validator. It seems to require
version 1.1.0 of javax.validation.
I therefore installed version 2.4.0 of
org.apache.servicemix.specs.jsr303-api-1.1.0 which seems to have the
purpose of providing version 1.1.0. However, it doesn't help because it
still exports version 1.0.0 of the javax.validation packages. I thought it
would export the 1.1.0 versions.
Is this a bug? If not, from where can I get the 1.1.0 version of the
javax.validation packages?
I'm running this under Karaf 2.3.4.
/Bengt
Re: Version problem with org.apache.servicemix.specs.jsr303-api-1.1.0
Posted by Bengt Rodehav <be...@rodehav.com>.
OK - thanks. I did noticed that there was a feature for this in Karaf 3. I
reused that feature in my server and it seems to work.
/Bengt
2014-07-21 9:18 GMT+02:00 Freeman Fang <fr...@gmail.com>:
> Hi,
>
> Please use
>
> mvn:javax.validation/validation-api/1.1.0.Final
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
>
>
>
> On 2014-7-18, at 下午8:16, Bengt Rodehav wrote:
>
> > I am trying to use version 5.0.2.Final_1
> > of org.apache.servicemix.bundles.hibernate-validator. It seems to require
> > version 1.1.0 of javax.validation.
> >
> > I therefore installed version 2.4.0 of
> > org.apache.servicemix.specs.jsr303-api-1.1.0 which seems to have the
> > purpose of providing version 1.1.0. However, it doesn't help because it
> > still exports version 1.0.0 of the javax.validation packages. I thought
> it
> > would export the 1.1.0 versions.
> >
> > Is this a bug? If not, from where can I get the 1.1.0 version of the
> > javax.validation packages?
> >
> > I'm running this under Karaf 2.3.4.
> >
> > /Bengt
>
>
Re: Version problem with org.apache.servicemix.specs.jsr303-api-1.1.0
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Please use
mvn:javax.validation/validation-api/1.1.0.Final
-------------
Freeman(Yue) Fang
Red Hat, Inc.
FuseSource is now part of Red Hat
On 2014-7-18, at 下午8:16, Bengt Rodehav wrote:
> I am trying to use version 5.0.2.Final_1
> of org.apache.servicemix.bundles.hibernate-validator. It seems to require
> version 1.1.0 of javax.validation.
>
> I therefore installed version 2.4.0 of
> org.apache.servicemix.specs.jsr303-api-1.1.0 which seems to have the
> purpose of providing version 1.1.0. However, it doesn't help because it
> still exports version 1.0.0 of the javax.validation packages. I thought it
> would export the 1.1.0 versions.
>
> Is this a bug? If not, from where can I get the 1.1.0 version of the
> javax.validation packages?
>
> I'm running this under Karaf 2.3.4.
>
> /Bengt