Sorry if this end up being a double post. I submitted via Nabble a couple
days ago, but it looks like my initial list subscription request didn't
work.

I'm having some trouble referencing a password-protected Maven2 repository.
I tried mavenRepo, but couldn't tell how to add authentication information.
My latest attempt is using Ivy as follows:

repositories {
  ivy {
    name = 'mdb-m2'
    userName = 'juser'
    password = 'PASSWORD'
    artifactPattern '
http://my.host.com/m2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]
'
    m2compatible = true
  }
}


By perusing the build output generated with --debug, it appears that
authentication worked, but I have two problems:

   - Ivy is looking for a directory called com.host.my instead of replacing
   the dots and looking for com/host/my. I thought I was specifying the latter
   with 'm2compatible'.
   - Ivy is looking for an ivy-0.1.79.xml file, which makes sense since I'm
   using Ivy, but this is really a Maven2 repo. How do I specify that it should
   look for the M2 POM?

Thanks for any help. I've searched the email archive, but what I've tried so
far has not worked, and I'm not sure if some of the suggestions have been
superceded by newer Gradle versions.

     Jeff

Reply via email to