Re: Plugins repository

2008-03-11 Thread ldelaforge
 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.

___


Plugins repository

2008-03-07 Thread ldelaforge

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.

___


Réf. : Re: RepositoryProxyConnectors - Transfer error

2008-03-04 Thread ldelaforge
Thank you for you quick answer

In fact, I just missed to configure the Proxy connectors in order they 
use the Network Proxy
After doing this, junit is correctly downloaded.

So the problem is closed...

Laurent Delaforge





Martin Höller [EMAIL PROTECTED]
04/03/2008 13:12
Veuillez répondre à archiva-users

 
Pour :  archiva-users@maven.apache.org
cc :(ccc : Laurent Delaforge/ODDO)
Objet : Re: RepositoryProxyConnectors - Transfer error


On Tuesday 04 March 2008 wrote [EMAIL PROTECTED]:

 I installed archiva 1.0.1, and configured a network proxy (my company
 proxy).

 Then I tried to point
 http://localhost:8080/archiva/repository/internal/junit/junit/3.8.1/junit
-3.8.1.jar (like in the documentation quick-start) But when archiva is
 trying to download it from the central repository
 (http://repo1.maven.org/maven2) I have the following error :

Does it work without the configured proxy? Is archiva connecting to the 
proxy? (check the proxy log-files)

- martin
-- 
Martin Höller   | [EMAIL PROTECTED]
*x Software + Systeme   | http://www.xss.co.at/
Karmarschgasse 51/2/20  | Tel: +43-1-6060114-30
A-1100 Vienna, Austria  | Fax: +43-1-6060114-71





___

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.

___