users@jersey.java.net

Re: [Jersey] Jersey+Spring 3.0.0.M3?

From: tarjei <tarjei_at_nu.no>
Date: Tue, 19 May 2009 09:07:30 +0200

On 05/19/2009 04:59 AM, Gregory Gerard wrote:
> Hi,
>
> Trying to use Spring 3.0.0.M3.
>
> Maven keeps trying to drag in 2.5.6.

>
> 5/18/09 7:37:52 PM PDT: Missing indirectly referenced artifact
> org.springframework:spring-core:jar:2.5.6:compile
>
> What's a workaround for this? I realize this is not specifically a
> Jersey issue but someone else must have run into this.
Try editing the jersey dependencies and add exclustions like this:
   <dependencies>
               <dependency>
                 <groupId>com.canoo.webtest</groupId>
                 <artifactId>webtest</artifactId>
                 <version>${webtest.version}</version>
                 <exclusions>
                   <exclusion>
                     <artifactId>groovy-all</artifactId>
                     <groupId>groovy</groupId>
                   </exclusion>
                 </exclusions>
               </dependency>
             </dependencies>

Then you need to add the correct dependencies somewhere else.

Hope this helps.

Kind regards,
Tarjei
>
> Though this happened for 1.0.3, I tried 1.1.1-ea-SNAPSHOT as well (these
> are the files related):
>
> from the jersey contrib spring pom:
> <properties>
> <spring20-release-version>2.0.5</spring20-release-version>
> <spring25-release-version>[2.5.2,)</spring25-release-version>
> </properties>
>
> I'm about ready to just symlink the things...
>
> thanks,
> greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>