On 28 February 2014 20:33, poroto20 <porot...@gmail.com> wrote: > I have one EAR project and I am trying to have a skinny war. It seems to be > working ok but for some reason it keeps copying 3 dependencies into war/lib > folder, which are commons-logging-1.0.4.jar, commons-codec-1.4.jar and > jboss-seam-2.2.1.Final.jar. > > I the EAR's pom I added `<skinnyWars>true</skinnyWars>`. I made sure I added > exclusions for those three jars, or they are `scope=provided`. I also added > `<packagingExcludes>**/*.jar</packagingExcludes>` in the WAR's pom file. > > I really can't understand maven's logic to create the war (or to copy those > jars).
Run with -X You get oodles of feedback. Make sure you redirect this output to a file for investigation. Maven should tell you what gets included and where from and you can investigate from there. You will probably need to add an exclusion to the offending artifact. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org