On 7/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote:
I have manually gone in and nuked the contents of target, and rebuilt /
packaged the WAR. I still get both jars -- I sent another email with the
details of this.

Examine the output of 'mvn package -X' to see if you can figure out
where each jar is coming from.

Take a look at mvn help:effective-pom to see if both dependencies are in there.

Look at the poms and artifacts on ibiblio... and:
 http://www.ibiblio.org/maven2/ehcache/ehcache/1.2/ehcache-1.2.pom

Ehcache 1.2 has been relocated to a different groupId,
'net.sf.ehcache' while ehcache 1.1 has not.

Double check that issue that Stephen linked to, but I still think you
need to <exclude> ehcache:ehcache from your hibernate dependency, then
declare the newer one.  And use the correct groupId now that we know
what it is.

If that *still* doesn't work, use mvn archetype:create to set up a
project, and modify the pom so that it reproduces the problem, then
let us take a look at that.

--
Wendy

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

Reply via email to