I am currently responsible for a "legacy" POM that copies ZIP files
from the Red Hat JBoss Fuse distro in our Nexus repository manager
to a location on a local worstation.  Several ZIP files are copied
from each of the following Fuse components, ActiveMQ, Camel and CXF.

To perform the copy operation the legacy POM is using the Maven
copy-dependencies goal or the maven-dependency-plugin.

When this project is executed by Maven for just the ActiveMQ and
CXF Fuse components the designated files are copied fine.  When,
however we execute the project to copy the Camel files, the process
fails.

The directory for the failing artifacts is present in our Nexus
repository manager, and is populated with several artifacts.

What I do not understand is why Maven is even looking for these
artifacts for a simple copy operation?  It appears to me that the
artifacts causing the problem have nothing to do with the copy goal!

I have posted this problem with Red Hat, who originally helpd our
previous personnel develop this POM.  They believe, and I tend to
agree 100%, that this is a Maven problem.

I have attached our settings.xml, pom.xml and the text of the error
message.

Can someone please explain why this is happening and how to fix it?

Thanks,
Mike

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

[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)

Attachment: super-pom-test-pom.xml
Description: super-pom-test-pom.xml

Attachment: super-pom-test-settings.xml
Description: super-pom-test-settings.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to