0

Some unwanted wars are being included while maven's grails-app packaging. I need itext-2.0.8, which I added in pom and it is added fine, but below three jars are also getting added, and one is duplicate itext-2.1.5, this should not come into war file.

I tried exclude tag in maven corresponding plugin(export).

        <exclusions>
    <exclusion>
        <groupId>com.lowagie</groupId>
        <artifactId>itext</artifactId>
    </exclusion>
</exclusions>

I tried by adding excludes in BuildConfig.groovy.

excludes "com.lowagie:itext:2.1.5"
excludes "com.lowagie:iTextAsian:2.1.5"
excludes "com.lowagie:itext-rtf:2.1.5"
durron597
  • 31,968
  • 17
  • 99
  • 158
Sun
  • 3,444
  • 7
  • 53
  • 83

0 Answers0