Accessing dependency tree from a plugin

2010-10-15 Thread Phillip Hellewell
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

Re: Accessing dependency tree from a plugin

2010-10-15 Thread Justin Edelson
#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()