*/
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.
--
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
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
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
-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