On Apr 29, 2010, at 2:46 AM, DongGuk Lee wrote:
> I using maven version 2.2.0 and 2.2.1
>
The range declared specifies that Jersey can support any version >=
2.5.2 and < 3.
I removed the spring modules from my local repo and re-built the
jersey-spring module and spring annotatios sample without issue using
maven 2.2.0 (it used Spring 2.5.6).
Can you send a maven project where you can re-produce this error?
perhaps there is something else in the pom that is causing this to
happen?
Paul.
>> Hello,
>>
>> looks like maven bug - which version are you using?
>>
>> Pavel
>>
>>
>> DongGuk Lee wrote:
>>> 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>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>