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

2007-02-18 Thread hermod.opstvedt
List Users Subject: Accessing the POM classpath from within an Ant based mojo 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

Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Scott Ryan
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 I reference that I get an error that it is not

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