users@jersey.java.net

maven error "No versions are present in the repository for the artifact with a range"

From: DongGuk Lee <fromm0_at_gmail.com>
Date: Wed, 28 Apr 2010 21:29:22 +0900

hi.

I use Jersey(version 1.1.5.1) and Jersey-spring
Error occured while build using maven
Error message is

"
No versions are present in the repository for the artifact with a
range [2.5.2,3)
 org.springframework:spring:jar:null

from the specified remote repositories:
 m2-snapshot-repository (http://repo.nhncorp.com/m2-snapshot-repository),
 nhncorp-maven (http://repo.nhncorp.com/maven),
 com.springsource.repository.bundles.release
(http://repository.springsource.com/maven/bundles/release),
 powermock-repo (http://powermock.googlecode.com/svn/repo/),
 com.springsource.repository.bundles.external
(http://repository.springsource.com/maven/bundles/external),
 maven-repository.dev.java.net (http://download.java.net/maven/1),
 codehaus (http://repository.codehaus.org/org/codehaus/mojo),
 ibiblio mirror (http://mirrors.ibiblio.org/pub/mirrors/maven2/),
 nhncorp (http://repo.nhncorp.com/maven2),
 maven2-repository.dev.java.net (http://download.java.net/maven/2/),
 central (http://repo1.maven.org/maven),
 ibiblio (http://www.ibiblio.org/maven2)
"

I believe the problem will be solved by modify pom
file(http://download.java.net/maven/2/com/sun/jersey/contribs/jersey-spring/1.1.5.1/jersey-spring-1.1.5.1.pom)
please modify pom file's properties's version

<properties>
        <spring20-release-version>2.0.5</spring20-release-version>
        <spring25-release-version>[2.5.2,3)</spring25-release-version>
</properties>

To

<properties>
        <spring20-release-version>2.0.5</spring20-release-version>
        <spring25-release-version>2.5.6</spring25-release-version> <- fixed
version or lasted version(not range version)
</properties>