Re: maven-dependency-plugin (version 2.1) question
I can say definitively that transitive was not intended for Copy/Unpack. I wrote these goals with a very specific use case and that was to be able to cherry-pick artifacts from this list. The xxx-dependencies goals where intended to support transitivity. On Wed, Sep 1, 2010 at 10:49 AM, EJ Ciramella wrote: > > > Actually, it very specifically says nothing about dependencies under > the copy goal. It merely says "artifacts." There is a difference... > > > This is why maven is so polarizing - either you love it or hate it. > > "specifically saying nothing" - it should be explicit... > > Thanks again all for the clarifications - I appreciate it! > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any review, > retransmission, dissemination or other use of; or taking of any action in > reliance upon this information by persons or entities other than the intended > recipient is prohibited. If you received this in error, please send the > e-mail back by replying to the sender and permanently delete the entire > message and its attachments from all computers and network systems involved > in its receipt. > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: maven-dependency-plugin (version 2.1) question
Actually, it very specifically says nothing about dependencies under the copy goal. It merely says "artifacts." There is a difference... This is why maven is so polarizing - either you love it or hate it. "specifically saying nothing" - it should be explicit... Thanks again all for the clarifications - I appreciate it! CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt.
Re: maven-dependency-plugin (version 2.1) question
> That doesn't even say "just these dependencies, not even their > dependencies" > > /shrug Actually, it very specifically says nothing about dependencies under the copy goal. It merely says "artifacts." There is a difference... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: maven-dependency-plugin (version 2.1) question
That doesn't even say "just these dependencies, not even their dependencies" /shrug Thanks for the clarification all! -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Tuesday, August 31, 2010 4:12 PM To: Maven Users List Subject: Re: maven-dependency-plugin (version 2.1) question "dependency:copy<http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html>takes a list of artifacts defined in the plugin configuration section and copies them to a specified location" Nowhere does it say that it would include transitive dependencies. However, if you don't think its clear enough, please file an enhancement request on the plugin with a patch. /Anders On Tue, Aug 31, 2010 at 21:44, EJ Ciramella wrote: > I guess I didn't see it explicitly called out in the docs anywhere that the > copy goal doesn't look up the transitive dependencies. > > The full list of dependencies is rather large (I'm still sorting through > things all marked as "compile" that could be "provided" or "runtime" in some > cases). > > Can you send along a snippet where this is explicitly called out in the > documentation? > > -Original Message- > From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > Behalf Of Anders Hammar > Sent: Tuesday, August 31, 2010 3:34 PM > To: Maven Users List > Subject: Re: maven-dependency-plugin (version 2.1) question > > I don't think I follow. Do you want to use the copy goal and have > transitive > deps included? That's not possible according to the docs. Why not use the > copy-dependencies goal? > > /Anders > > On Tue, Aug 31, 2010 at 21:20, EJ Ciramella >wrote: > > > That's the inverse of what I want. > > > > We have this: > > > > A depends on > B > > > > B depends on > C > > > > We're not getting "C" when we use the copy goal, only when we ask for ALL > > dependencies via the copy-dependencies goal. > > > > Is this expected behavior? > > > > -Original Message- > > From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > > Behalf Of Anders Hammar > > Sent: Tuesday, August 31, 2010 2:26 PM > > To: Maven Users List > > Subject: Re: maven-dependency-plugin (version 2.1) question > > > > You can exclude the transitive deps: > > > > > http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive > > > > /Anders > > > > On Tue, Aug 31, 2010 at 19:33, EJ Ciramella > >wrote: > > > > > I've noticed recently that "copy-dependencies" finds the transitive > > > dependencies, but "copy" does not. > > > > > > Is this intentional? > > > > > > We'd like to NOT have to repeat a majority of the dependencies when > just > > > using "copy" as the full list of transitive dependencies is bigger than > > > what's needed. > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > > within > > > including any attachments is only for the recipient(s) to which it is > > > intended and may contain confidential and/or privileged material. Any > > > review, retransmission, dissemination or other use of; or taking of any > > > action in reliance upon this information by persons or entities other > > than > > > the intended recipient is prohibited. If you received this in error, > > please > > > send the e-mail back by replying to the sender and permanently delete > the > > > entire message and its attachments from all computers and network > systems > > > involved in its receipt. > > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > within > > including any attachments is only for the recipient(s) to which it is > > intended and may contain confidential and/or privileged material. Any > > review, retransmission, dissemination or other use of; or taking of any > > action in reliance upon this information by persons or entities other > than > > the intended recipient is prohibited. If you received this in error, > please > > send the e-mail back by replying to the sender and permanently delete the > > entire message and its attachments from all computers and network systems > > involved in its receipt. > > > > --
Re: maven-dependency-plugin (version 2.1) question
"dependency:copy<http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html>takes a list of artifacts defined in the plugin configuration section and copies them to a specified location" Nowhere does it say that it would include transitive dependencies. However, if you don't think its clear enough, please file an enhancement request on the plugin with a patch. /Anders On Tue, Aug 31, 2010 at 21:44, EJ Ciramella wrote: > I guess I didn't see it explicitly called out in the docs anywhere that the > copy goal doesn't look up the transitive dependencies. > > The full list of dependencies is rather large (I'm still sorting through > things all marked as "compile" that could be "provided" or "runtime" in some > cases). > > Can you send along a snippet where this is explicitly called out in the > documentation? > > -Original Message- > From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > Behalf Of Anders Hammar > Sent: Tuesday, August 31, 2010 3:34 PM > To: Maven Users List > Subject: Re: maven-dependency-plugin (version 2.1) question > > I don't think I follow. Do you want to use the copy goal and have > transitive > deps included? That's not possible according to the docs. Why not use the > copy-dependencies goal? > > /Anders > > On Tue, Aug 31, 2010 at 21:20, EJ Ciramella >wrote: > > > That's the inverse of what I want. > > > > We have this: > > > > A depends on > B > > > > B depends on > C > > > > We're not getting "C" when we use the copy goal, only when we ask for ALL > > dependencies via the copy-dependencies goal. > > > > Is this expected behavior? > > > > -Original Message- > > From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > > Behalf Of Anders Hammar > > Sent: Tuesday, August 31, 2010 2:26 PM > > To: Maven Users List > > Subject: Re: maven-dependency-plugin (version 2.1) question > > > > You can exclude the transitive deps: > > > > > http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive > > > > /Anders > > > > On Tue, Aug 31, 2010 at 19:33, EJ Ciramella > >wrote: > > > > > I've noticed recently that "copy-dependencies" finds the transitive > > > dependencies, but "copy" does not. > > > > > > Is this intentional? > > > > > > We'd like to NOT have to repeat a majority of the dependencies when > just > > > using "copy" as the full list of transitive dependencies is bigger than > > > what's needed. > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > > within > > > including any attachments is only for the recipient(s) to which it is > > > intended and may contain confidential and/or privileged material. Any > > > review, retransmission, dissemination or other use of; or taking of any > > > action in reliance upon this information by persons or entities other > > than > > > the intended recipient is prohibited. If you received this in error, > > please > > > send the e-mail back by replying to the sender and permanently delete > the > > > entire message and its attachments from all computers and network > systems > > > involved in its receipt. > > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > within > > including any attachments is only for the recipient(s) to which it is > > intended and may contain confidential and/or privileged material. Any > > review, retransmission, dissemination or other use of; or taking of any > > action in reliance upon this information by persons or entities other > than > > the intended recipient is prohibited. If you received this in error, > please > > send the e-mail back by replying to the sender and permanently delete the > > entire message and its attachments from all computers and network systems > > involved in its receipt. > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of; or taking of any > action in reliance upon this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > send the e-mail back by replying to the sender and permanently delete the > entire message and its attachments from all computers and network systems > involved in its receipt. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: maven-dependency-plugin (version 2.1) question
Yes it was intentional. On Tue, Aug 31, 2010 at 1:33 PM, EJ Ciramella wrote: > I've noticed recently that "copy-dependencies" finds the transitive > dependencies, but "copy" does not. > > Is this intentional? > > We'd like to NOT have to repeat a majority of the dependencies when just > using "copy" as the full list of transitive dependencies is bigger than > what's needed. > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any review, > retransmission, dissemination or other use of; or taking of any action in > reliance upon this information by persons or entities other than the intended > recipient is prohibited. If you received this in error, please send the > e-mail back by replying to the sender and permanently delete the entire > message and its attachments from all computers and network systems involved > in its receipt. > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: maven-dependency-plugin (version 2.1) question
I guess I didn't see it explicitly called out in the docs anywhere that the copy goal doesn't look up the transitive dependencies. The full list of dependencies is rather large (I'm still sorting through things all marked as "compile" that could be "provided" or "runtime" in some cases). Can you send along a snippet where this is explicitly called out in the documentation? -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Tuesday, August 31, 2010 3:34 PM To: Maven Users List Subject: Re: maven-dependency-plugin (version 2.1) question I don't think I follow. Do you want to use the copy goal and have transitive deps included? That's not possible according to the docs. Why not use the copy-dependencies goal? /Anders On Tue, Aug 31, 2010 at 21:20, EJ Ciramella wrote: > That's the inverse of what I want. > > We have this: > > A depends on > B > > B depends on > C > > We're not getting "C" when we use the copy goal, only when we ask for ALL > dependencies via the copy-dependencies goal. > > Is this expected behavior? > > -Original Message- > From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > Behalf Of Anders Hammar > Sent: Tuesday, August 31, 2010 2:26 PM > To: Maven Users List > Subject: Re: maven-dependency-plugin (version 2.1) question > > You can exclude the transitive deps: > > http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive > > /Anders > > On Tue, Aug 31, 2010 at 19:33, EJ Ciramella >wrote: > > > I've noticed recently that "copy-dependencies" finds the transitive > > dependencies, but "copy" does not. > > > > Is this intentional? > > > > We'd like to NOT have to repeat a majority of the dependencies when just > > using "copy" as the full list of transitive dependencies is bigger than > > what's needed. > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > within > > including any attachments is only for the recipient(s) to which it is > > intended and may contain confidential and/or privileged material. Any > > review, retransmission, dissemination or other use of; or taking of any > > action in reliance upon this information by persons or entities other > than > > the intended recipient is prohibited. If you received this in error, > please > > send the e-mail back by replying to the sender and permanently delete the > > entire message and its attachments from all computers and network systems > > involved in its receipt. > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of; or taking of any > action in reliance upon this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > send the e-mail back by replying to the sender and permanently delete the > entire message and its attachments from all computers and network systems > involved in its receipt. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-dependency-plugin (version 2.1) question
I don't think I follow. Do you want to use the copy goal and have transitive deps included? That's not possible according to the docs. Why not use the copy-dependencies goal? /Anders On Tue, Aug 31, 2010 at 21:20, EJ Ciramella wrote: > That's the inverse of what I want. > > We have this: > > A depends on > B > > B depends on > C > > We're not getting "C" when we use the copy goal, only when we ask for ALL > dependencies via the copy-dependencies goal. > > Is this expected behavior? > > -Original Message- > From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On > Behalf Of Anders Hammar > Sent: Tuesday, August 31, 2010 2:26 PM > To: Maven Users List > Subject: Re: maven-dependency-plugin (version 2.1) question > > You can exclude the transitive deps: > > http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive > > /Anders > > On Tue, Aug 31, 2010 at 19:33, EJ Ciramella >wrote: > > > I've noticed recently that "copy-dependencies" finds the transitive > > dependencies, but "copy" does not. > > > > Is this intentional? > > > > We'd like to NOT have to repeat a majority of the dependencies when just > > using "copy" as the full list of transitive dependencies is bigger than > > what's needed. > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted > within > > including any attachments is only for the recipient(s) to which it is > > intended and may contain confidential and/or privileged material. Any > > review, retransmission, dissemination or other use of; or taking of any > > action in reliance upon this information by persons or entities other > than > > the intended recipient is prohibited. If you received this in error, > please > > send the e-mail back by replying to the sender and permanently delete the > > entire message and its attachments from all computers and network systems > > involved in its receipt. > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of; or taking of any > action in reliance upon this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > send the e-mail back by replying to the sender and permanently delete the > entire message and its attachments from all computers and network systems > involved in its receipt. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
RE: maven-dependency-plugin (version 2.1) question
That's the inverse of what I want. We have this: A depends on > B B depends on > C We're not getting "C" when we use the copy goal, only when we ask for ALL dependencies via the copy-dependencies goal. Is this expected behavior? -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Tuesday, August 31, 2010 2:26 PM To: Maven Users List Subject: Re: maven-dependency-plugin (version 2.1) question You can exclude the transitive deps: http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive /Anders On Tue, Aug 31, 2010 at 19:33, EJ Ciramella wrote: > I've noticed recently that "copy-dependencies" finds the transitive > dependencies, but "copy" does not. > > Is this intentional? > > We'd like to NOT have to repeat a majority of the dependencies when just > using "copy" as the full list of transitive dependencies is bigger than > what's needed. > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of; or taking of any > action in reliance upon this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > send the e-mail back by replying to the sender and permanently delete the > entire message and its attachments from all computers and network systems > involved in its receipt. > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-dependency-plugin (version 2.1) question
You can exclude the transitive deps: http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html#excludeTransitive /Anders On Tue, Aug 31, 2010 at 19:33, EJ Ciramella wrote: > I've noticed recently that "copy-dependencies" finds the transitive > dependencies, but "copy" does not. > > Is this intentional? > > We'd like to NOT have to repeat a majority of the dependencies when just > using "copy" as the full list of transitive dependencies is bigger than > what's needed. > > > > CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within > including any attachments is only for the recipient(s) to which it is > intended and may contain confidential and/or privileged material. Any > review, retransmission, dissemination or other use of; or taking of any > action in reliance upon this information by persons or entities other than > the intended recipient is prohibited. If you received this in error, please > send the e-mail back by replying to the sender and permanently delete the > entire message and its attachments from all computers and network systems > involved in its receipt. >
maven-dependency-plugin (version 2.1) question
I've noticed recently that "copy-dependencies" finds the transitive dependencies, but "copy" does not. Is this intentional? We'd like to NOT have to repeat a majority of the dependencies when just using "copy" as the full list of transitive dependencies is bigger than what's needed. CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt.