maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
Subject Re: exclude jar. SOS i cannot make it
Date Sun, 29 Nov 2009 22:00:00 GMT
On Sun, Nov 29, 2009 at 2:24 PM, Koxkorrita <koxkorrita@laudio.info> wrote:

> i must to exclude from my war file (webservice) the spring.jar file
> for this purpose i make this:
...
>                        <exclusion>
>                             <groupId>org.springframework</groupId>
>                             <artifactId>spring-core</artifactId>
>                        </exclusion>

You're saying "spring" shows up in your lib directory, but you're
excluding "spring-core" which is not the same thing.

Try the dependency with <artifactId>spring</artifactId> instead.

Also make sure that you run 'mvn clean' to delete anything that's left
over from a previous build.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message