Yes we do that in our settings.xml file.

Knowing that, is there anything else to add?

Michael Tarullo
Contractor (Engility Corp)
Enterprise Architect
NSRR System Administrator
FAA WJH Technical Center
(609)485-5294

-----Original Message-----
From: Jörg Schaible [mailto:[email protected]] 
Sent: Monday, September 21, 2015 8:45 PM
To: [email protected]
Subject: Re: Trouble With A POM

[email protected] wrote:

> I inherited a POM file (copy attached) that copies selected files from 
> our Nexus repository to a local workstation location.
> 
> When I run Maven (3.1.1) with said POM I get the following error:
> [ERROR] Failed to execute goal on project all-products:
>         Could not resolve dependencies for project
>         com.iona.fuse:all-products:pom:1.0.0.0-fuse: Failed to collect
>         dependencies
>           at org.apache.camel:apache-camel:zip:src:2.15.1.redhat-620133
>           -> org.apache.camel:camel-cmis:jar:2.15.1.redhat-620133
>           ->
>           org.apache.chemistry.opencmis:chemistry-opencmis-client-
impl:jar:0.8.0
>           ->
>           org.apache.chemistry.opencmis:chemistry-opencmis-commons-
impl:jar:0.8.0
>           -> com.sun.xml.ws:jaxws-rt:jar:2.1.7 ->
>           com.sun.xml.stream.buffer:streambuffer:jar:0.9 ->
>           org.jvnet.staxex:stax-ex:jar:RELEASE:
>         Failed to read artifact descriptor for
>         org.jvnet.staxex:stax-ex:jar:RELEASE: Failed to resolve version
>         for org.jvnet.staxex:stax-ex:jar:RELEASE: Could not find metadata
>         org.jvnet.staxex:stax-ex/maven-metadata.xml
>           in local (C:\Users\Michael CTR
>           Tarullo.FAA\.m2\super-pom-test-repository-62)
> 
> I'm starting with an empty local repo for this.  I would think that 
> would not be a problem since the only thing this POM is supposed to do 
> is copy files from Nexus.

This is only true, if you have defined a mirror for central in your 
settings.xml that redirects to your Nexus.

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to