Hi,

I'm writing a custom plugin and I need to copy the project's dependencies
from the local repository to a certain directory. How can I do this best?

I already managed to get a list of dependencies in my Mojo:

Iterator iterator = dependencies.iterator();
while (iterator.hasNext())
{
Dependency dependency = (Dependency)iterator.next();

}

So, now I need to get the path of the Depency in the local repository and
then copy the file.


question 2:
When my plugin works, it will produce a different artifact (.msm), how
should I handle the 'instal' and 'deploy' of that artifact? Do I need to
write my own custom mojo for that or can I re-use the plugins already
written for .jar files?

regards,

Wim

Reply via email to