You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Roger Pack <ro...@gmail.com> on 2009/06/03 23:16:33 UTC

dependencies ignored if duplicated

seems that with maven 2.1
if I have a dependency in a pom.xml listed *twice* (or is it twice
with differing versions?) the dependency is silently ignored.
Thanks!
-=r

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


Re: dependencies ignored if duplicated

Posted by Wayne Fay <wa...@gmail.com>.
> seems that with maven 2.1
> if I have a dependency in a pom.xml listed *twice* (or is it twice
> with differing versions?) the dependency is silently ignored.

I've never experienced that myself. Can you provide your pom along
with the output of "mvn help:effective-pom"? Post them on
www.pastebin.com and send us the link -- this list strips many
attachments.

Wayne

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