Peter,

On Sun, 2008-10-05 at 12:21 -0700, Peter Niederwieser wrote:

> 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. Maybe addOfficialMavenRepo() would be even clearer.

OK, this slant on the semantics hidden behind the name begins to work
for me.  Perhaps the outcome of this exchange is that the documentation
should push the line:

addMavenRepo is a method for adding a Maven structure repository to the
dependency search list with a default location of
http://repo1.maven.org.  The search strategy is not amended, it just
adds a new source of material for dependency resolution.

(I think you got a few characters in the wrong place when you quoted the
URL :-)

> 
> Russel Winder-4 wrote:
> > 
> > PS  Of course Jason Dillon's advice will be "Use Maven whenever you
> > can." :-)
> > 
> 
> I wasn't really interested in GMaven until I realized that it would allow me
> to script Maven with Groovy! This has since saved my day a few times, but
> Maven sucks nevertheless. :-)

My problem with GMaven at the minute is that it has a completely
different stub/compilation system to the rest of the Groovy world so
compiling with GMaven produces a different output than compiling with
Ant, Gant, SCons, groovyc.  I guess I need to find out where Gradle sits
on all this.

As soon as Gradle can upload jars to the Maven repository adding a POM
generated from the build.gradle file information so that I can delete
the pom.xml then I will be in a position not to use Maven at all :-)
 
-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to