Hi,
I will remove this:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>${spring25-release-version}</version>
<scope>compile</scope>
</dependency>
and changed the following from:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring25-release-version}</version>
<scope>test</scope>
</dependency>
to:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring25-release-version}</version>
<scope>compile</scope>
</dependency>
Paul.
On Oct 6, 2010, at 6:23 PM, Ronak Patel wrote:
> Yes I second this...I usually include the modules I actually need
> from Spring on my own and always have to exclude the Spring that
> ships with Jersey.
>
> From: "Herring, TJ" <tj.herring_at_autozone.com>
> To: "users_at_jersey.dev.java.net" <users_at_jersey.dev.java.net>
> Sent: Wed, October 6, 2010 8:37:51 AM
> Subject: [Jersey] jersey-spring maven pom
>
> Hi the pom.xml file for the jersey-spring project has a dependency
> on the 'spring' jar (which contains everything in the spring
> framework) AND the spring modules, like spring-web, spring-core,
> etc. Depending on the 'spring' artifact is redundant. It probably
> should be removed and only depend on the spring modules artifacts
> since this is preferred.
>
> Thanks
>
>