Le lundi 13 août 2007, Benjamin Bentmann a écrit : > Hi, > > We have an SSH-secured internal repository from which an Ant build script > should download some files using the maven-ant-tasks:2.0.7. First, I tried > to specify everything inline the Ant script, i.e. without using a POM, > using multiple <dependency> elements and a <remoteRepository> element. I > left out the <authentication> for the remote repo and expected the Antlib > to scan my settings.xml for a matching server id, but that seems not to > work. I could only get the SSH credentials from the settings.xml if I used > a <pom> element, whose remote repo is then used. > > Has anybody successfully accessed a secured remote repo using the > credentials from the settings.xml without using a POM and can tell, what I > made wrong? If not, I would like to open a feature request for this.
Did you check http://jira.codehaus.org/browse/MANTTASKS-85? From the description of your problem, I think you're facing the same issue. Can you test the patched version provided in the Jira issue and confirm if it's ok or not? Hervé --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
