You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Phillip Hellewell <ss...@gmail.com> on 2010/10/15 11:28:37 UTC
Accessing dependency tree from a plugin
Hi all,
Which of the following is the best way to access the dependency tree
from a plugin?
1. Have the plugin launch "mvn dependency:tree" and parse the stdout?
2. Have the plugin execute
org.apache.maven.plugin.dependency.execute() directly and parse the
stdout?
3. Create a modified version of the TreeMojo.java from the dependency plugin?
Thanks,
Phillip
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Accessing dependency tree from a plugin
Posted by Justin Edelson <ju...@gmail.com>.
#3
On 10/15/10 5:28 AM, Phillip Hellewell wrote:
> Hi all,
>
> Which of the following is the best way to access the dependency tree
> from a plugin?
>
> 1. Have the plugin launch "mvn dependency:tree" and parse the stdout?
> 2. Have the plugin execute
> org.apache.maven.plugin.dependency.execute() directly and parse the
> stdout?
> 3. Create a modified version of the TreeMojo.java from the dependency plugin?
>
> Thanks,
> Phillip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org