[
https://jira.codehaus.org/browse/JBEHAVE-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284819#comment-284819
]
Alexander Lehmann commented on JBEHAVE-650:
-------------------------------------------
this is probably a bug in the maven-ant-tasks, there is at least one issue that
describes a similar problem (MANTTASKS-175), however the resolution works, if
the settings are loaded by the pom task
> Ant copy-dependencies (binary distribution) doesn't find all required
> artifacts when the local maven cache is empty
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBEHAVE-650
> URL: https://jira.codehaus.org/browse/JBEHAVE-650
> Project: JBehave
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.5.4
> Environment: ubuntu, ant 1.8.2
> Reporter: Alexander Lehmann
> Priority: Minor
>
> 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)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email