Check the mailing list, this was answered last week..  Additional info
here: http://www.mavenblogs.org/.  In short, yes, it works, just add it
to your project.xml with type plugin!

-----Original Message-----
From: Russ Jubenville [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 25, 2005 10:37 AM
To: [email protected]
Subject: Plugin version dependencies?


Is there a way to declare a project's dependency on a specific version
of a Maven (or custom, for that matter) plugin?

For example, assume that I felt the need to modify the jar plugin, which
is currently at version 1.6 in my local repository, so I create a
version 1.6.1.  I want developers on the team to automatically get my
new version, but I want the production build to still use the old
version.

I envision a declared dependency in my top project's project.xml file,
indicating maven-jar-plugin version 1.6.1, the effect of which would be
to automatically download the new version to developers' machines and
use that version in their builds.  Meanwhile, the old version would
remain in the repository, and since the production build's project.xml
would still show version 1.6, it would continue to use that version for
its build.

Any help is greatly appreciated!

..Russ Jubenville


########################################################################
#############
This e-mail message has been scanned for Viruses and Content and cleared

by NetIQ MailMarshal
########################################################################
#############


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

Reply via email to