Ant copy-dependencies (binary distribution) doesn't find all required artifacts when the local maven cache is empty

Description

Starting with a local .m2 repository the doesn't have the files cached, ant copy-dependencies doesn't find all necessary artifacts.

(log shortened)
BUILD FAILED
/home/lehmann/jbehave/jbehave-3.5.4/lib/build.xml:7: Unable to resolve artifact: Missing:
----------
1) com.google.gdata:gdata-java-client:jar:1.40.0.atlassian-2

2) org.jboss.weld.se:weld-se:jar:1.1.1.Final

it seems that the settings.xml file is not used at all (e.g. it never looks at the glassfish repository).

However if you run mvn test -s settings.xml, the depencies are found and later the ant task completes successfully as well (once the files are cached)

Assignee

Unassigned

Reporter

Alexander Lehmann

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure