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


Wendy Smoak-3 wrote:
> 
> On Sun, Nov 23, 2008 at 5:58 PM, traigo <[EMAIL PROTECTED]> wrote:
>> I have an old jar for iText (1.3) that I need to remove.  It is being
>> used by
>> jasperreports to convert to PDF.  I need jasperreports to use the newer
>> 2.1.4.  I haven't found a way to remove it from maven.  I have my pom set
>> to
>> require version 2.1.4.  I tried to add an exclusion, but version is not
>> part
>> of the exclusion tag.
> 
> If you declare a dependency on the newer one, then Maven should choose
> that, assuming the groupId and artifactId match exactly.  Are you
> getting the wrong one, or are you getting both?
> 
> You can look at the output of 'mvn dependency:tree' to see where the
> unwanted one is coming from.
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Remove-old-jar-version-tp20653206p20653299.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to