Do you have some mirror settings in settings.xml?
Yes I added a mirror too :
mirror
idarchiva.default/id
urlhttp://localhost:8080/archiva/repository/internal//url
mirrorOf*/mirrorOf
/mirror
Adding a repository such as this in Maven will have it use both 'central'
and 'plugins'
identified repositories.
I have two others repositories (when I said I added I mean in comparison
to the default configuration) :
managedRepository
locationD:\serveurs\Archiva-1.0.1/repositories/plugins/location
snapshotstrue/snapshots
refreshCronExpression0 0\,30 * * * ?/refreshCronExpression
daysOlder30/daysOlder
idplugins/id
nameArchiva Managed Plugins Repository/name
/managedRepository
managedRepository
locationD:\serveurs\Archiva-1.0.1\repositories\internal/location
snapshotstrue/snapshots
daysOlder30/daysOlder
idinternal/id
nameArchiva Managed Internal Repository/name
/managedRepository
managedRepository
managedRepository
locationD:\serveurs\Archiva-1.0.1\repositories\snapshots/location
snapshotstrue/snapshots
refreshCronExpression0 0\,30 * * * ?/refreshCronExpression
daysOlder30/daysOlder
idsnapshots/id
nameArchiva Managed Snapshot Repository/name
/managedRepository
On 07-Mar-2008 14:30:07 CET, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all,
I am trying to separate plugins from the others repository in order to
have
artifact releases - ./repository/internal
artifact snapshots - ./repository/snapshots
plugins (snapshots releases) - ./repository/plugins
So I added in my archiva.xml :
managedRepository
locationD:\serveurs\Archiva-1.0.1/repositories/plugins/location
releasestrue/releases
snapshotstrue/snapshots
refreshCronExpression0 0\,30 * * * ?/refreshCronExpression
daysOlder30/daysOlder
idplugins/id
nameArchiva Managed Plugins Repository/name
/managedRepository
and in my USER_HOME/m2./settings.xml :
pluginRepositories
pluginRepository
idplugins/id
urlhttp://localhost:8080/archiva/repository/plugins/url
releases
enabledtrue/enabled
/releases
snapshots
enabledtrue/enabled
/snapshots
/pluginRepository
/pluginRepositories
but plugins are still downloaded in the 2 others repository (releases
snapshots).
Did I miss something ?
Thank you for your help
___
L'integrite de ce message n'etant pas assuree sur Internet, les societes du
groupe Oddo ne peuvent ?tre tenues responsables de son contenu. Ce message et
les eventuels fichiers attaches contiennent des informations confidentielles.
Au cas o? il ne vous serait pas destine, nous vous remercions de bien vouloir
le supprimer et en aviser l'expediteur.
This message and the files that may be attached to it contain confidential
information. The Oddo group may not be held responsible for their contents,
whose accuracy and completeness cannot be guaranteed over the internet. If the
message is not addressed to you, kindly delete it and notify the sender.
___