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
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
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
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
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