Hi all,

 

I get a list of jars that are added to my war without me specifying it
anywhere in my pom.xml as a dependency. Is it because of the dependency
transitivity feature ?

 

My pom.xml uses: <packaging>war</packaging>

some jars are added in WEB-INF/lib inside the war file even though they
are not listed anywhere in dependencies: 

 

here are some of them:


[DEBUG] adding entry ant-1.6.5.jar

[DEBUG] adding entry ant-junit-1.6.5.jar

[DEBUG] adding entry ant-launcher-1.6.5.jar

[DEBUG] adding entry antlr-2.7.5.jar

[DEBUG] adding entry asm-2.2.jar

I could manually exclude them using
<warSourceExcludes>filelist</warSourceExcludes> in the war plugin config
but I'd rather understand what is causing this ? I'm using Maven 2.0.8.

 

Thanks,

-Guillaume Jeudy



____________________________________________________________________________________________________
This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.

Reply via email to