Thanks Andriy for the quick fix. Yes, Karaf 4.3.3 SNAPSHOT upgraded to use PAX-WEB 7.3.19 very recently which causes this failing. FYI, Karaf 4.3.3 will be released very soon, so this kind of SNAPSHOT dependency won't trouble us anymore.
Best Regards Freeman On Mon, Aug 9, 2021 at 8:03 AM Andriy Redko <[email protected]> wrote: > Ah yeah, the snapshots problem, always, should be fixed now, thanks Colm! > > Best Regards, > Andriy Redko > > > COh> The build is failing for me with this commit: > > COh> commit 2d2b6443d93ebe40d752bf02d2b8c0432d103e87 > COh> Author: Freeman Fang <[email protected]> > COh> Date: Wed Jul 21 10:12:57 2021 -0400 > > COh> [CXF-8564]upgrade to KARAF 4.3.3 to support JDK17-EA > > COh> [ERROR] Failed to execute goal > COh> org.apache.karaf.tooling:karaf-maven-plugin:4.3.3-SNAPSHOT:verify > COh> (verify) on project apache-cxf: Verification failures: Verification > COh> failures: > COh> [ERROR] Feature resolution failed for [cxf-http-undertow/3.5.0. > SNAPSHOT] > COh> [ERROR] Message: Uses constraint violation. Unable to resolve resource > COh> org.ops4j.pax.web.pax-web-undertow > COh> [org.ops4j.pax.web.pax-web-undertow/7.3.19] because it is exposed to > COh> package 'javax.servlet' from resources javax.servlet-api > COh> [javax.servlet-api/3.1.0] and javax.servlet-api > COh> [javax.servlet-api/4.0.0] via two dependency chains. > COh> [ERROR] > COh> [ERROR] Chain 1: > COh> [ERROR] org.ops4j.pax.web.pax-web-undertow > COh> [org.ops4j.pax.web.pax-web-undertow/7.3.19] > COh> [ERROR] import: > COh> > (&(osgi.wiring.package=javax.servlet)(version>=3.1.0)(!(version>=5.0.0))) > COh> [ERROR] | > > > COh> Colm. > >
