I'm trying to use the springframework 3.0.0.M3 release which is hosted in an
ivy repository


repositorys {
    ...    
    add(new org.apache.ivy.plugins.resolver.URLResolver()) {
        name = 'spring-milestones'
        addIvyPattern
"http://repository.springsource.com/ivy/bundles/milestone/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
        addArtifactPattern
"http://repository.springsource.com/ivy/bundles/milestone/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]";
    }
}

dependencies {
        ...
        compile "org.springframework:org.springframework.core:3.0.0.M3"
        compile "org.springframework:org.springframework.context:3.0.0.M3"
        compile "org.springframework:org.springframework.beans:3.0.0.M3"
        compile "org.springframework:org.springframework.web:3.0.0.M3"
        compile "org.springframework:org.springframework.web.servlet:3.0.0.M3"
        ...
}


The files seem to be downloading OK but I end up with the following error.

downloading (5 KB)
http://repository.springsource.com/ivy/bundles/milestone/org.springframework/org.springframework.web/3.0.0.M3/ivy-3.0.0.M3.xml
...
downloading (6 KB)
http://repository.springsource.com/ivy/bundles/milestone/org.springframework/org.springframework.web.servlet/3.0.0.M3/ivy-3.0.0.M3.xml
.....
:: problems summary ::
:::: WARNINGS
                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: org.springframework#org.springframework.web;3.0.0.M3: 
configuration not
found in org.springframework#org.springframework.web;3.0.0.M3: 'default'. It
was required from unspecified#Residue;unspecified compile

                :: org.springframework#org.springframework.web.servlet;3.0.0.M3:
configuration not found in
org.springframework#org.springframework.web.servlet;3.0.0.M3: 'default'. It
was required from unspecified#Residue;unspecified compile

                ::::::::::::::::::::::::::::::::::::::::::::::


I suspect this is an Ivy Config / Spring issue rather than anything to do
with gradle,  but not being familiar with Ivy I haven't got a clue what it
means, or how to fix it. Any help appreciated.

S
-- 
View this message in context: 
http://www.nabble.com/Problems-with-Ivy-and-Spring-Framework-3.0.0.M3-tp23940455p23940455.html
Sent from the gradle-user mailing list archive at Nabble.com.

Reply via email to