you can just add a <dependency/> element to the plugin's configuration
to override the original dependency

On 1/31/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote:
Hi,

I have a plugin (maven-jaxme-plugin), which currently has a static
dependency on jaxme-0.5.2.jar. From time to time I add a bugfix to the
dependency, which I would like to use in the plugin. However, it isn't
very manageable to update the plugin anytime I update the dependency.
So I am thinking whether it is possible to make jaxme a dynamic
dependency. For example, I might check a special configuration
parameter "version". If that parameter is present, then I'd use the
given version, otherwise I'd use the preconfigured 0.5.2. Does someone
have an example how this can be done?

Thanks,

Jochen

--
How fast can a year go? As fast as your childs first year.

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

Reply via email to