You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by to...@gi-de.com on 2010/01/04 12:50:25 UTC

how to copy dependencies of war or ear files?

Hi, 

I need to extract all (transitive) dependencies of my *.war and *.ear 
files into one directory.
How can I do this?

I thought about maven-dependency-plugin, but
- unpack and unpack-dependencies unpacks the whole tree structure 
(WEB-INF\lib\....)  including all files
- copy and copy-dependencies only copies the *.war or *.ear itself  - not 
the <scope>runtime</scope> dependencies.


Thanx for any idea

Torsten