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]
