I am having no luck defining secondary Maven repositories. Most JBoss
projects for example will need to simultaneously access the Maven
central repository as well as the JBoss repository. So I tried the
following:
subprojects {
...
repositories {
mavenCentral()
mavenRepo urls: "http://repository.jboss.com/maven2"
}
...
}
I have also tried:
subprojects {
...
repositories {
mavenRepo urls: "http://localhost:8081/artifactory/repo/"
}
..
}
where that URL is a local instance of artifactory I run on my machine.
I have tried a few other variations as well. Yet no matter what, my
compilations end up failing because of not being able to find classes
which should be in jars coming from this JBoss repository. Heck, the
artifacts should already be in my local Maven repository
(~/.m2/repository), though was not sure how/if Gradle interacted with
that.
So am I doing something wrong here? I thought I was following
http://www.gradle.org/0.8/docs/userguide/userguide_single.html#sec:repositories
pretty closely.
--
Steve Ebersole <[email protected]>
Hibernate.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email