You can't, copy-dependencies is intended to work on the current project, and copy is intended to simply fetch another artifact only.
On Wed, Jul 27, 2011 at 4:15 PM, cowwoc <[email protected]> wrote: > Brian, > > How do specify a project argument for "copy-dependencies"? That is, I need > to copy the dependencies of another project (not the current one). > > Thanks, > Gili > > > Brian Fox-2 wrote: >> >> It does not support transitivity yet. You can use copy-dependencies and >> combinations of the filters to get the artifacts you need >> >> Chris Burroughs wrote: >>> I assumed from the frequent references to transitive dependencies at >>> <http://maven.apache.org/plugins/maven-dependency-plugin/index.html> >>> that dependency:copy supported transitive dependencies of artifactItems. >>> >>> However, this appears to not be the case (at least as of a few years >>> ago): >>> http://www.mail-archive.com/[email protected]/msg55576.html >>> http://jira.codehaus.org/browse/MDEP-182 >>> >>> Can someone confirm that artifactItem still does not support transitive >>> dependencies? If not, is there a standard workaround or alternative? >>> >>> --------------------------------------------------------------------- >>> 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] >> > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/dependency-copy-and-transitive-dependencies-of-artifactItems-tp116131p4640153.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > 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]
