Hi Advait,

Please read http://www.sonatype.com/book/writing-plugins.html and especially the part about @requiresDependencyResolution requiredScope.

I guess, that would solve your problem.

Hth,

Nick Stolwijk

Steven Rowe wrote:
Hi Advait,

How about:

   mvn initialize myplugin:mygoal

(where you fill in "myplugin" and "mygoal" with your specific info)

Steve

Advait Trivedi wrote:
I have a POM containing dependencies. I run some plugin goals which are not
bound to any lifecycle phase from this directory. Maven does not download
dependencies specified in POM. My requirement is to download all
dependencies specified in POM at this time. I understand that invoking "mvn
install" from this directory will download all the dependencies. But I don't
want to do that. I also tried antlib, but that too downloads only when I
invoke "mvn install". Is there a possible solution?

Thanks & Regards,

Advait Trivedi,
Sr. Software Engineer,

Mphasis Ltd.


---------------------------------------------------------------------
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]

Reply via email to