How to get all dependecy in a mojo ?

2008-09-17 Thread 陈思淼
*/ private MavenProject project; project.getArtifacts() is a empty collection. I saw war plugin and them get all the war's dependencies in this way? who can tell me how to get all dependecy in a mojo ? Thank you.

Re: How to get all dependecy in a mojo ?

2008-09-17 Thread lukewpatterson
-- View this message in context: http://www.nabble.com/How-to-get-all-dependecy-in-a-mojo---tp19533728p19534612.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: How to get all dependecy in a mojo ?

2008-09-17 Thread Brian E. Fox
You need to add @requiresDependencyResolution test (or compile etc) -Original Message- From: 陈思淼 [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 10:44 AM To: Maven Users List Subject: How to get all dependecy in a mojo ? My mojo extends AbstractWarMojo, I want to get all

Re: How to get all dependecy in a mojo ?

2008-09-17 Thread 陈思淼
PROTECTED] You need to add @requiresDependencyResolution test (or compile etc) -Original Message- From: 陈思淼 [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 10:44 AM To: Maven Users List Subject: How to get all dependecy in a mojo ? My mojo extends AbstractWarMojo, I want

Re: How to get all dependecy in a mojo ?

2008-09-17 Thread lukewpatterson
-properties/goal ... requiresDependencyResolutioncompile/requiresDependencyResolution ... phaseprocess-resources/phase -- View this message in context: http://www.nabble.com/How-to-get-all-dependecy-in-a-mojo---tp19533728p19544802.html Sent from the Maven - Users mailing list