Hi,

I can't get credentials to work for Ivy repositories now.

The repositories are on Nexus. With the configuration below I can access a
Maven format repository, but get 401 errors for the Ivy repository (both on
the same server):


repositories {
        ivy {
                credentials {
                        username "username"
                        password "password"
                }
                artifactPattern
"https://server/nexus/content/repositories/releases/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
                ivyPattern
"https://server/nexus/content/repositories/releases/[organisation]/[module]/[revision]/ivy-[revision].xml";
        }


        maven {
                name "GlobalDawn repo"
                url "https://server/nexus/content/groups/public/";
                credentials {
                        username "username"
                        password "password
                }
        }
}


16:13:01.178 [DEBUG]
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] try to get
credentials for: Sonatype Nexus Repository Manager@server
16:13:01.178 [DEBUG]
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
authentication: k='Sonatype Nexus Repository Manager@server' c='null'
16:13:01.179 [DEBUG]
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] HTTP
response status: 401
url=https://server/nexus/content/repositories/releases/com.globaldawn.common.develop/common-spring/
16:13:01.179 [DEBUG]
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] CLIENT
ERROR: Unauthorized
url=https://server/nexus/content/repositories/releases/com.globaldawn.common.develop/common-spring/
16:13:01.179 [DEBUG]
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] problem
while listing resources in
https://server/nexus/content/repositories/releases/com.globaldawn.common.develop/common-spring/
with ivy:
16:13:01.180 [DEBUG]
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]  
java.io.IOException The HTTP response code for
https:/server/nexus/content/repositories/releases/com.globaldawn.common.develop/common-spring/
did not indicate a success. See log for more detail.

Any clues? Or is this a bug?

Phil.


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Gradle-1-0-m6-ivy-credentials-tp5023124p5023124.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to