What does your dependency for 2.1.4 look like?  I don't see it in the
central repo, at least not in the same groupId as 1.3:
http://repo2.maven.org/maven2/com/lowagie/itext/

If it's in a different groupId, you'll probably want an exclusion for
com.lowagie:itext to get rid of 1.3, and then the dependency on the
"other" itext for 2.1.4.

Maven can only mediate dependencies and choose the "right" version if
the groupId and artifactId match.  Otherwise as far a Maven is
concerned, they are two different things.  I assume that's what is
happening here.

-- 
Wendy

On Sun, Nov 23, 2008 at 6:08 PM, traigo <[EMAIL PROTECTED]> wrote:
>
> It seems displaytag has a dependency for 1.3.  When I removed it from my
> ~/.m2 and told maven to compile offline, it errored on missing it for
> displaytag.  I don't know why jasperreports is still using this one though.
>
> [INFO] +- displaytag:displaytag:jar:1.1.1:compile
> [INFO] |  +- com.lowagie:itext:jar:1.3:compile
>

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

Reply via email to