You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Nuthalapati, Ramesh" <ra...@viacom.com> on 2013/04/22 23:23:19 UTC

CXF and Maven 3.0.5

Hello,

Has any one tried using CXF (old version 2.1.3 and latest versions) along with Maven 3.0.5 ?

I see this message always

{code}

[WARNING] Failure to transfer commons-logging:commons-logging/maven-metadata.xml from http://ws.zones.apache.org/repository2/ was cached in the local repository, resolution will not be reattempted until the update interval of apache-ws-snapshots2 has elapsed or updates are forced. Original error: Could not transfer metadata commons-logging:commons-logging/maven-metadata.xml from/to apache-ws-snapshots2 (http://ws.zones.apache.org/repository2): Connection to http://ws.zones.apache.org refused


{code}

The build doesn't fail but takes a while trying to fetch that and it always does every time I build, looks like CXF has a repository reference in its POM ?

This works great with maven 2.2.1.

Any thoughts ?

Thanks !





Re: CXF and Maven 3.0.5

Posted by "Nuthalapati, Ramesh" <ra...@viacom.com>.
Thanks for your help Dan. I missed wss4j earlier, which has the zones repo
reference.


Re: CXF and Maven 3.0.5

Posted by Daniel Kulp <dk...@apache.org>.
I'm definitely not seeing this with the latest CXF code.   The older 2.1.x version of CXF might be problematic due to the very old versions of some of the ws deps that may have defined that.

If you are having this issue with trunk or 2.7.x, it sounds like you have some bad poms in your ~/.m2/repository directory someplace.

In your ~/.m2/repository directory, can you run:

find . -name "*.pom" | xargs grep ws.zones.apache.org
find . -name "*.pom" | xargs grep apache-ws-snapshots2

and see if it find anything?   If so, try deleting those artifacts (likely delete the entire groupId or artifactId directory for anything it finds) and rebuilding and hope it grabs the appropriate stuff from central.

Dan



On Apr 22, 2013, at 5:23 PM, "Nuthalapati, Ramesh" <ra...@viacom.com> wrote:

> Hello,
> 
> Has any one tried using CXF (old version 2.1.3 and latest versions) along with Maven 3.0.5 ?
> 
> I see this message always
> 
> {code}
> 
> [WARNING] Failure to transfer commons-logging:commons-logging/maven-metadata.xml from http://ws.zones.apache.org/repository2/ was cached in the local repository, resolution will not be reattempted until the update interval of apache-ws-snapshots2 has elapsed or updates are forced. Original error: Could not transfer metadata commons-logging:commons-logging/maven-metadata.xml from/to apache-ws-snapshots2 (http://ws.zones.apache.org/repository2): Connection to http://ws.zones.apache.org refused
> 
> 
> {code}
> 
> The build doesn't fail but takes a while trying to fetch that and it always does every time I build, looks like CXF has a repository reference in its POM ?
> 
> This works great with maven 2.2.1.
> 
> Any thoughts ?
> 
> Thanks !
> 
> 
> 
> 

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Re: CXF and Maven 3.0.5

Posted by "Nuthalapati, Ramesh" <ra...@viacom.com>.
Any one facing the same issue ? Thanks.