What if you change "org-grails:grails-spring:1.3.6" ->
"org.grails:grails-spring:1.3.6"

Cheers,
Szczepan

On Mon, Mar 21, 2011 at 5:44 PM, Kenneth Kousen <[email protected]>wrote:

> I understand. I just want to add the grails-spring jar as a project
> dependency in a non-grails-related project. I could just copy the jar out of
> the Grails distribution, but since I know it already exists at
> repository.codehaus.org, I need to know how to add it to my build file.
>
> I tried:
>
> repositories {
>     mavenCentral()
>     mavenRepo urls:"http://repository.codehaus.org";
> }
>
> dependencies {
>     compile "org-grails:grails-spring:1.3.6"
> // etc
> }
>
> but gradle was unable to find it.
>
> Ken
>
> On Mon, Mar 21, 2011 at 12:31 PM, Peter Niederwieser 
> <[email protected]>wrote:
>
>>
>> Kenneth Kousen wrote:
>> >
>> > I found in the grails-spring pom from
>> >
>> http://repository.codehaus.org//org/grails/grails/1.3.7/grails-1.3.7.pom
>> > that the Grails Central Repository is located at
>> > dav:https://dav.codehaus.org/repository/grails but when I add that
>> using
>> > "mavenRepo urls: '...'" it doesn't work.
>> >
>>
>> This URL is for publishing, not for downloading.
>>
>>
>> Kenneth Kousen wrote:
>> >
>> > I also tried a MVN browser, which said that the grails-spring dependency
>> > is located
>> > at the Codehaus repository, which linked to
>> http://repository.codehaus.org
>> > and I tried just adding that, but that didn't work either.
>> >
>>
>> grails-spring is here:
>> http://repository.codehaus.org/org/grails/grails-spring/1.3.7/
>>
>> Hence this should work:
>>
>> repositories {
>>  mavenRepo urls: "http://repository.codehaus.org";
>> }
>>
>> dependencies {
>>  compile "org.grails:grails-spring:1.3.7"
>> }
>>
>> --
>> Peter Niederwieser
>> Developer, Gradle
>> http://www.gradle.org
>> Trainer & Consultant, Gradleware
>> http://www.gradleware.com
>> Creator, Spock Framework
>> http://spockframework.org
>>
>>
>> --
>> View this message in context:
>> http://gradle.1045684.n5.nabble.com/Add-codehaus-repository-to-Gradle-build-tp4232345p4233777.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
>>
>>
>>
>
>
> --
> Kenneth A. Kousen
> President
> Kousen IT, Inc.
>
>

Reply via email to