On 6/9/06, tm jee <[EMAIL PROTECTED]> 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?

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to