Hi there,
I think you can control your plugin versions through the use of the
following file:
.m2/plugin-registry.xml
This file contains entries like the following:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<useVersion>1.0-alpha-3</useVersion>
</plugin>
maven can then be instructed to not check for plugin updates through the
following flags
-npu
--no-plugin-updates
The description from 'mvn - help' provides the following about the previous
flags:
Suppress upToDate check for any relevant registered plugins
The plugin-registry.xml file is created through the following line in your
settings.xml also found under the .m2 directory.
<usePluginRegistry>true</usePluginRegistry>
Any plugins you use will be registered within the xml file and should be
controlled. I think you should then be able to control your maven plugins
at your own speed. I remember playing around with the same thoughts, but it
has been a little while so I hope this helps.
Trent
On 26/09/06, alexsun <[EMAIL PROTECTED]> wrote:
Is it posible to set up java version for all maven plugins, that used in
project, in one place?
And forget about it? ))
--
View this message in context:
http://www.nabble.com/java-version-for-all-plugins-tf2337491.html#a6504075
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]