RE: Accessing the POM classpath from within an Ant based mojo

2007-02-18 Thread hermod.opstvedt
Hi There is a Ant utility for this in the websphere5 plugin. Take a look at how this is done there. https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was Hermod -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] Sent: Saturday, February 17, 2007 10:54 PM To: Maven

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Jason van Zyl
On 17 Feb 07, at 4:54 PM 17 Feb 07, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Scott Ryan
Thanks for the quick answer. I am not not 2.0.5 yet but I assume you mean any version of 2.0.x will not work. So that means there is no way to do a taskdef in an ant based mojo? I could have sworn I had it working a few months ago. Seems that an ant mojo is pretty hampered if I cannot

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Matt Brozowski
On Feb 17, 2007, at 4:54 PM, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but when