[ 
https://issues.apache.org/jira/browse/CXF-8151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074297#comment-17074297
 ] 

Dennis Kieselhorst commented on CXF-8151:
-----------------------------------------

Thanks [~reta], we still have an issue with Swagger Core 1.x, even with the 
latest 1.6.1 version:
{noformat}
[ERROR]         Feature resolution failed for 
[cxf-rs-description-swagger2/3.4.0.SNAPSHOT]
[ERROR] Message: Unable to resolve root: missing requirement [root] 
osgi.identity; osgi.identity=cxf-rs-description-swagger2; type=karaf.feature; 
version=3.4.0.SNAPSHOT; 
filter:="(&(osgi.identity=cxf-rs-description-swagger2)(type=karaf.feature)(version>=3.4.0.SNAPSHOT))"
 [caused by: Unable to resolve cxf-rs-description-swagger2/3.4.0.SNAPSHOT: 
missing requirement [cxf-rs-description-swagger2/3.4.0.SNAPSHOT] osgi.identity; 
osgi.identity=org.apache.cxf.cxf-rt-rs-service-description-swagger; 
type=osgi.bundle; version="[3.4.0.SNAPSHOT,3.4.0.SNAPSHOT]"; 
resolution:=mandatory [caused by: Unable to resolve 
org.apache.cxf.cxf-rt-rs-service-description-swagger/3.4.0.SNAPSHOT: missing 
requirement 
[org.apache.cxf.cxf-rt-rs-service-description-swagger/3.4.0.SNAPSHOT] 
osgi.wiring.package; 
filter:="(&(osgi.wiring.package=io.swagger.jaxrs.config)(version>=1.6.0)(!(version>=2.0.0)))"
 [caused by: Unable to resolve io.swagger.jaxrs/1.6.1: missing requirement 
[io.swagger.jaxrs/1.6.1] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=io.swagger.config)(version>=1.6.0)(!(version>=2.0.0)))"
 [caused by: Unable to resolve io.swagger.core/1.6.1: missing requirement 
[io.swagger.core/1.6.1] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=javax.validation.constraints)(version>=1.1.0)(!(version>=2.0.0)))"]]]]
{noformat}

Any idea how to solve this? Maybe we should discontinue support for 1.x for CXF 
3.4? What do you think?

> Upgrade to Bean Validation 2.x 
> -------------------------------
>
>                 Key: CXF-8151
>                 URL: https://issues.apache.org/jira/browse/CXF-8151
>             Project: CXF
>          Issue Type: Task
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> CXF is still using the Bean Validation 1.x API whereas all modern 
> implementations support 2.x mostly exlusively (Hibernate Validator 6.x, ...). 
> We probably should consider moving the baseline to 2.x at least with CXF 
> 3.4.0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to