Thanks for the response,

Unfortunately this wasn't the case, I tried using the plugin's
dependencies in the hope that they would be accessible - they weren't.

I gave up in the end and decided a java based plugin would be easier
to developer rather than fighting against the ant based plugin -
though I would love to see it up, running and fully functional.

Dave.

On 8/24/06, Brian E. Fox <[EMAIL PROTECTED]> wrote:
 I haven't written an ant plugin so I can't help you with the first
part. On the second question, the <plugin> tag can also take a
<dependencies> tag and these dependencies will be added to the classpath
when your plugin executes.
http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_
plugin


-----Original Message-----
From: Dave Sowerby [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 12:17 PM
To: users@maven.apache.org
Subject: ant based plugin

Hi All,

I have been using an antrun execution to generate some code whilst
prototyping a maven build system.  I want to make a generic ant plugin
to do this but had some issues in doing so.

First of, I couldn't see how to use the paths as allowed in antrun -
such as maven.compile.classpath, I eventually got it to work with a
custom ant task and setting a property of type java.util.List - not
ideal, I can deal with it until it's fixed in a release but is there any
tidier way to do it?

Secondly my maven-plugin-plugin usage in my ant maven-plugin has it's
own dependencies - a generic set that should always be used with this
plugin but I can't see how to access these - any ideas?

Thanks for your time in advance.

Dave.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Dave Sowerby MEng MBCS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to