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.
-- 
View this message in context: 
http://www.nabble.com/-maven-ant-tasks--Authentication-from-settings.xml-without-using-POM--tf4261430s177.html#a12126962
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to