you can define tasks for a specific project within the maven.xml for that project. or if you wish to use the plugins across a number of projects, create a plugin and install it. The simplest way to create a plugin is to do a full cvs checkout of maven, and copy the plugin structure of one of the plugins beneath jakarta-turbine-maven/src/plugins-build. Once you have written the plugin by modifying the plugin.xml, plugin.properties and writing any sources java, xml etc, install it by executing:

jakarta-turbine-maven>maven maven:plugin -Dplugin.name=foo-plugin

Peter Donald wrote:
Hi,

Is it possible to define local plugins relative to a project or set of projects? or maybe a plugin can be defined by a url and downloaded somehow?

Essentially I want to define a couple of plugins that are fairly specific to a set of projects under development. So this plugin would likely be stores in a location like ../tools/maven/foo-plugin.jar - is it possible for me to register these things somehow ? Alternatively I can place the plugin on a web-server and download it?

Or any other suggesitions?


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

Reply via email to