maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
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 <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message