You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Igor Deruga <in...@hotbox.ru> on 2005/05/27 12:02:26 UTC
/lib directory is overflooded
Dear members!
I have a project that contains several modules. One module is a .war.
Other are .jars that end in common/lib directory. My war-file depends on
one jar file, so I expect it (and only it) to appear in WEB-INF/lib
directory of my war-module. But after the build,
myproj/mywar/target/mywar/WEB-INF/lib contains ALL jars that my project
consists of and ALL jars that my other modules depend on. Why is that?
Sincerely
Igor Deruga.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: /lib directory is overflooded
Posted by Nicolas Chalumeau <ni...@gmail.com>.
use <war.bundle>true</war.bundle> to specify witch dependancies you
want to incluse in the war.
http://maven.apache.org/reference/plugins/war/
2005/5/27, Igor Deruga <in...@hotbox.ru>:
> Dear members!
>
> I have a project that contains several modules. One module is a .war.
> Other are .jars that end in common/lib directory. My war-file depends on
> one jar file, so I expect it (and only it) to appear in WEB-INF/lib
> directory of my war-module. But after the build,
> myproj/mywar/target/mywar/WEB-INF/lib contains ALL jars that my project
> consists of and ALL jars that my other modules depend on. Why is that?
It seems to be normal but I probably didn't understand
Nicolas,
>
> Sincerely
> Igor Deruga.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org