You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kalle Korhonen (JIRA)" <ji...@codehaus.org> on 2007/08/20 07:51:47 UTC

[jira] Commented: (MANTTASKS-13) Ant Tasks use of is inconsistent

    [ http://jira.codehaus.org/browse/MANTTASKS-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105176 ] 

Kalle Korhonen commented on MANTTASKS-13:
-----------------------------------------

... and using Maven Tasks for Ant 2.0.7

> Ant Tasks use of <authentication> is inconsistent
> -------------------------------------------------
>
>                 Key: MANTTASKS-13
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-13
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>         Environment: cygwin/win32
>            Reporter: jonathan anderson
>            Priority: Minor
>
> In the ant build file, authentication works fine if you do: 
>   	<artifact:dependencies pathId="dependency.classpath">
>   		<dependency groupId="edu.blah" artifactId="blah"
>   	              version="1.0-SNAPSHOT"/>
>   		<remoteRepository id="abcde.repository" url="https://blah.blah.edu:8081/maven2">
>   		<authentication username="username" password="password"/>
>   		<remoteRepository>
>   	</artifact:dependencies>
> But, if you do 
> 	<artifact:remoteRepository id="abcde.repository" url="https://blah.blah.edu:8081/maven2">
>   		<authentication username="username" password="password"/>
> 	</artifact:remoteRepository>
>   	<artifact:dependencies pathId="dependency.classpath">
>   		<dependency groupId="edu.blah" artifactId="blah"
>   	              version="1.0-SNAPSHOT"/>
> 	<artifact:remoteRepository refid="abcde.repository"/>
>   	</artifact:dependencies>
> It fails mysteriously.  The remoteRepository is found, but the http client does not respond to the authentication challenge.  The only error which presents is a vague "Error transferring file" message

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira