Hi,
As a test i removed that module you mentioned and rebuilt the jersey-
spring module, and it worked fine. Maven downloaded spring-2.5.6.jar.
See below for the maven output.
Paul.
INFO] Building jersey-spring
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] artifact org.codehaus.mojo:buildnumber-maven-plugin: checking
for updates from maven2-repository.dev.java.net
[INFO] artifact org.codehaus.mojo:buildnumber-maven-plugin: checking
for updates from maven-repository.dev.java.net
[INFO] [clean:clean]
[INFO] Deleting directory /Users/paulsandoz/Projects/jersey/trunk/
jersey/contribs/spring/target
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 05/19/2009 09:58 AM at timestamp:
1242719887131
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 05/19/2009 09:58 AM at timestamp:
1242719887141
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: /Users/paulsandoz/Projects/jersey/trunk/jersey/
contribs/spring/target/jersey-spring-1.1.1-ea-SNAPSHOT-sources.jar
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] artifact org.springframework:spring: checking for updates from
m1.dev.java.net
[INFO] artifact org.springframework:spring: checking for updates from
m2.dev.java.net
[INFO] artifact org.springframework:spring: checking for updates from
central
Downloading:
http://download.java.net/maven/1/org.springframework/poms/spring-2.5.6.pom
Downloading:
http://download.java.net/maven/2/org/springframework/spring/2.5.6/spring-2.5.6.pom
Downloading:
http://repo1.maven.org/maven2/org/springframework/spring/2.5.6/spring-2.5.6.pom
12K downloaded
Downloading:
http://repo1.maven.org/maven2/org/springframework/spring/2.5.6/spring-2.5.6.jar
2880K downloaded
On May 19, 2009, at 9:36 AM, tarjei wrote:
> Hi, when I started working today, I suddenly got errors like:
>
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: No versions
> are present in the repository for the artifact with a range [2.5.2,)
> org.springframework:spring:jar:null
>
> Which was (IMHO) very odd as the only difference from the day before
> was a reboot.
>
> Good thing mr Gerrard had just highlighted the Spring 3.x issue as I
> thus got a hint that the problem might be Jersey related. I solved
> the problem by editing out the following from the
> .m2/repository/com/sun/jersey/contribs/jersey-spring/1.0.3/jersey-
> spring-1.0.3.pom
>
> file:
>
> @@ -184,13 +187,7 @@
> <version>${spring25-release-version}</version>
> <scope>compile</scope>
> </dependency>
> - <dependency>
> - <groupId>org.springframework</groupId>
> - <artifactId>spring</artifactId>
> - <version>${spring25-release-version}</version>
> - <scope>compile</scope>
> - </dependency>
> - <dependency>
> + <dependency>
>
> I'm not a Spring or Maven expert, but it seems that the
> org.springframework.spring jar was removed for the 2.5.x series and
> therefore should not be in the pom at all.
>
> Kind regards,
> Tarjei
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>