Details
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)
Activity
Alexander Lehmann
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | jbehave.diff [ 57995 ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 3.6 [ 17721 ] | |
Resolution | Fixed [ 1 ] |
I should mention that this isn't affected by the change in the way the maven task is loaded into ant (
JBEHAVE-634)