You can add the plugins with version to the pluginManagement section of your 
pom file.[1] (Or parent pom file if you want to reuse the list) This way maven 
will always use the declared version (It will still download it, when the 
declared version is not found in your local repository).

Only the plugins inside reporting doesn't honour the pluginManagement, so you 
will have to declare the version also in the reporting section of your pom. [2]

Hth,

Nick S.

[1] 
http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_pluginManagement
[2] http://jira.codehaus.org/browse/MNG-3385

-----Original Message-----
From: Paul Collins [mailto:[EMAIL PROTECTED]
Sent: Fri 4/18/2008 13:56
To: [email protected]
Subject: maven plug-gins
 
Hi
 
When executing a maven command the necessary plug-ins are downloaded but
how can I configure maven to select plug-ins locally so I can have a
repeatable build process?
 
Regards
Paul
 
---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

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


Reply via email to