On Oct 5, 2008, at 9:21 PM, Peter Niederwieser wrote:
Russel Winder-4 wrote:
The problem here is though that if the Maven repository is being used
then it should be used as the user believes the Maven repository
behaves. So if the method was called:
searchTheStandardMavenRepositoriesForDependenciesAndCacheThermInTheGr
adleCache
then you would expect some behaviour that is not Maven standard.
However the method is called:
addMavenRepo
so there is some expectation that the behaviour will be that of Maven
when it comes to looking up dependencies.
I guess people's expectations are very different. I'd expect
anything built
on top of Maven (e.g. a Maven plugin) to follow Maven's dependency
resolution mechanism, but I'd be very surprised if Gradle touched
Maven's
local repository (I wouldn't even recommend to share the local repo
between
two Maven installations).
addMavenRepo() means "add the (remote) Maven repository
http://maven1.repo.org", and for my taste the method name
communicates this
fairly well.
This is exactly the way I see it.
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email