This isn't currently possible. I'm adding similar functionality to the common module for another plugin so I should be able to add this to dependency after. Can you file a jira?
-----Original Message----- From: Saxena, Sandeep [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 1:16 AM To: Maven Users List Subject: RE: dependency-copy Thanks Upul. But it does not copy all transitive dependencies from a list. I want something like I give a list of 10 artifacts which may or may not be In the Project's POM and I want all transitive dependencies for these 10 Artifacts to be copied in a folder of my assembly. Thanks, Sandeep. -----Original Message----- From: Upul Godage [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 11:37 AM To: Maven Users List Subject: Re: dependency-copy 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. > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
