Hello, 

I'm having difficulty upgrading from CXF 2.0.2 to CXF 2.0.3 using Mavenized
builds.  With CXF 2.0.3 (not 2.0.2), Maven keeps trying to download
nonexistent versions of jars (in particular, Version 1.0 of cxf-api and
cxf-rt-core, neither of which have 1.0 versions anywhere) and fails because
it cannot find them.  As you can see below, running "mvn clean install" with
the debug (-X) option seems to show that cxf-rt-transports-http-jetty is the
culprit: it is resolving its dependencies to the invalid 1.0 versions while
cxf-rt-frontend-jaxws is requesting the normal, available, 2.0.3 versions.

[DEBUG]  
org.apache.cxf:cxf-rt-transports-http-jetty:jar:2.0.3-incubator:compile
(selected for compile)
-->[DEBUG]     org.apache.cxf:cxf-api:jar:1.0:compile (selected for compile)
[DEBUG]     org.apache.cxf:cxf-rt-transports-http:jar:1.0:compile (applying
version: 2.0.3-incubator)
[DEBUG]    
org.apache.cxf:cxf-rt-transports-http:jar:2.0.3-incubator:compile (selected
for compile)
-->[DEBUG]       org.apache.cxf:cxf-rt-core:jar:1.0:compile (selected for
compile)
[DEBUG]     org.apache.cxf:cxf-rt-core:jar:1.0:compile (selected for
compile)
[DEBUG]     org.mortbay.jetty:jetty:jar:6.1.5:compile (selected for compile)
[DEBUG]       org.mortbay.jetty:jetty-util:jar:6.1.5:compile (selected for
compile)
[DEBUG]    
org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.1-M1:compile
(selected for compile)
[DEBUG]   commons-lang:commons-lang:jar:2.3:compile (selected for compile)
[DEBUG]   org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0.3-incubator:compile
(selected for compile)
[DEBUG]     javax.xml.ws:jaxws-api:jar:2.0:compile (selected for compile)
-->[DEBUG]     org.apache.cxf:cxf-api:jar:2.0.3-incubator:compile (removed -
nearer found: 1.0)
-->[DEBUG]     org.apache.cxf:cxf-rt-core:jar:2.0.3-incubator:compile
(removed - nearer found: 1.0)
[DEBUG]     org.apache.cxf:cxf-rt-bindings-soap:jar:2.0.3-incubator:compile
(selected for compile)
[DEBUG]       org.apache.cxf:cxf-api:jar:2.0.3-incubator:compile (removed -
nearer found: 1.0)
[DEBUG]       org.apache.cxf:cxf-tools-common:jar:2.0.3-incubator:compile
(selected for compile)
[DEBUG]         velocity:velocity:jar:1.4:compile (selected for compile)
[DEBUG]           velocity:velocity-dep:jar:1.4:runtime (selected for
runtime)

I'm still somewhat early in my troubleshooting, I'm going to simplify the
pom files next to the bare minimum that reproduces this error.  In the
meantime, though, has anyone seen this error before?  I am hoping that
someone would know what might cause this to save me troubleshooting time.

Also, when does one need the "cxf-rt-transports-http-jetty" dependency?  Is
it a requirement for Jetty use--we are using Jetty so I cannot remove this
dependency (which might indirectly fix this problem) if Jetty requires it. 
I might be able to pull it out of compilation scope, however.

Thanks,
Glen

-- 
View this message in context: 
http://www.nabble.com/Maven-dependency-problem-upgrading-from-CXF-2.0.2-to-2.0.3-tp14921161p14921161.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to