archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ldelafo...@oddo.fr
Subject Re: Plugins repository
Date Tue, 11 Mar 2008 08:14:44 GMT
> Do you have some mirror settings in settings.xml? 

Yes I added a mirror too :
<mirror>
      <id>archiva.default</id>
      <url>http://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>
<location>D:\serveurs\Archiva-1.0.1/repositories/plugins</location>
<snapshots>true</snapshots>
<refreshCronExpression>0 0\,30 * * * ?</refreshCronExpression>
<daysOlder>30</daysOlder>
<id>plugins</id>
<name>Archiva Managed Plugins Repository</name>
</managedRepository>

<managedRepository>
<location>D:\serveurs\Archiva-1.0.1\repositories\internal</location>
<snapshots>true</snapshots>
<daysOlder>30</daysOlder>
<id>internal</id>
<name>Archiva Managed Internal Repository</name>
</managedRepository>
<managedRepository>

<managedRepository>
<location>D:\serveurs\Archiva-1.0.1\repositories\snapshots</location>
<snapshots>true</snapshots>
<refreshCronExpression>0 0\,30 * * * ?</refreshCronExpression>
<daysOlder>30</daysOlder>
<id>snapshots</id>
<name>Archiva 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>
>  <location>D:\serveurs\Archiva-1.0.1/repositories/plugins</location>
>  <releases>true</releases>
>  <snapshots>true</snapshots>
>  <refreshCronExpression>0 0\,30 * * * ?</refreshCronExpression>
>  <daysOlder>30</daysOlder>
>  <id>plugins</id>
>  <name>Archiva Managed Plugins Repository</name>
>  </managedRepository>
>
>  and in my <USER_HOME>/m2./settings.xml :
>
>  <pluginRepositories>
>      <pluginRepository>
>        <id>plugins</id>
>        <url>http://localhost:8080/archiva/repository/plugins</url>
>        <releases>
>           <enabled>true</enabled>
>         </releases>
>         <snapshots>
>            <enabled>true</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.

___________________________________________________________________________

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message