maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasun Gajasinghe <>
Subject Re: Set specific plugin versions for a project - issue in plugin-registry.xml/maven-metada-local.xml
Date Wed, 27 Jul 2011 17:58:37 GMT
On Wed, Jul 27, 2011 at 10:05 PM, Ansgar Konermann
<> wrote:
> Am 27.07.2011 08:16, schrieb Kasun Gajasinghe:
>> We don't allow downloading of different versions of same plugin which
>> in most cases does the 'same' job! So, we need the ability to set a
>> default plugin versions that are available on the gentoo system.
> Hi Kasun,
> what about this: configure a local <pluginRepository> in Maven's global
> settings.xml [1] file. Pre-load it with all the plugins and plugin
> dependencies your maven installation will be allowed to use.

well, this is possible, I'm working on some subtle gentoo-specific
things I need to do first to test this out. Anyway, I already know
this, and have specified about this in my original post. I'm looking
for this and something beyond that. That is, set <checkLatest> true
and retrieve plugins version from there.
[2] says,
checkLatest - Specifies whether the LATEST artifact metadata should be
consulted while determining versions for unregistered plugins.

I'm looking for that. I figured that it needs to set via
maven-metadata.xml files. I'm not exactly sure that maven-metadata.xml
is the file to be used for this purpose though.


> Best
> Ansgar
> [1]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Kasun Gajasinghe,
University of Moratuwa,
Sri Lanka.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message