I think assembly plugin does this. Here all the dependencies are copied to a
lib directory in the final release.
http://maven.apache.org/plugins/maven-assembly-plugin/howto.html
<assembly>
<id>bin</id>
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
Hope this helps.
Upul
On Wed, Mar 5, 2008 at 11:20 AM, Saxena, Sandeep <
[EMAIL PROTECTED]> wrote:
> I want to copy all transitive dependencies for a list of artifacts in my
> assembly.
> If I use "dependency: copy" with a list of artifacts I just get all the
> jars defined
> In my list and not transitive dependencies.
>
> And if I use dependency: copy-dependencies, it takes all the artifacts
> from my project's POM
> Instead of taking a list of artifacts.
>
> To make it clear my project depends on three artifacts A, B and C but I
> want to copy all the
> Transitive dependencies of another artifact D in a folder of my
> assembly.
>
> Any clues?
>
> Regards,
> Sandeep.
>
>
>
>