"addMavenRepo(myRepo)" satisfies a special use case. If I remember correctly,
it looks for POMs in Maven Central, and for artifacts in myRepo. But it's
all explained in the documentation.
Anyway, from what I've heard and seen, the DSL will change quite a bit in
0.6.

Cheers,
Peter


Russel Winder-4 wrote:
> 
> I am wondering about when to use addMavenRepo and addMavenStyleRepo.
> Clearly addMavenRepo adds the standard Maven website.  However it takes
> a URL as parameter so alternates can be added.  For example:
> 
>    addMavenRepo('http://repo.gradle.org', 'http://repo2.gradle.org')
> 
> Moreover URLs admit the file: protocol.  So 
> 
>     addMavenRepo ( 'file:///home/users/russel/.m2/repository' )
> 
> So assuming these are actually doing what I think they are doing, why is
> there a need for addMavenStyleRepo?
> 
> -- 
> Russel.
> ============================================================
> Dr Russel Winder                 Partner
> 
> Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
> 41 Buckmaster Road,     f: +44 8700 516 084    voip: 
> sip:[email protected]
> London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-repositories-tp22781284p22792075.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