struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Re: [action2] building showcase webapp using maven
Date Fri, 09 Jun 2006 15:16:29 GMT
On 6/9/06, tm jee <> wrote:

> When building showcase war file using maven, it seems that xwork-1.2-SNAPSHOT.jar is
being included in /WEB-INF/lib and so is xwork-2.0-SNAPSHOT.jar. It should only include xwork-2.0-SNAPSHOT.jar
i guess.
> Showcase pom.xml seems to indicate a dependency on struts-core-2.0-SNAPSHOT, and struts-core's
pom.xml indicate dependency on xwork-2.0-SNAPSHOT, i wonder why xwork-1.2-SNAPSHOT.jar is
included in it.

mvn clean
mvn install -X

Maven will print the path to every dependency, and you should be able
to see where the old version is coming from.  You can get rid of it
with an <exclusion>, but Maven is supposed to mediate dependencies and
pick the "closest" one.  Maybe that isn't working for snapshots?


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

View raw message