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.

___


How to copy artifacts (and dependencies) from archiva to execution environment?

2008-03-11 Thread kroe

What is the best way to consume the artifacts that are deployed to archiva?  

If the artifact is a WAR or EAR with all the dependencies bundled in then
downloading it with a browser and FTPing the artifact to the execution
environment is easy enough.  If the artifact is a JAR this is more
complicated.  What is the ideal way to download a JAR and its dependencies
into an execution environment.  

Example: I have a jar containing a command line utility that will be called
from a SVN build hook to trigger a Continuum build.  It depends on the
Continuum XMLRPC client JAR.  Do I have to manually resolve the dependencies
and put each Jar on my SVN server, or is there an easier way?

Thanks,
-Ken
-- 
View this message in context: 
http://www.nabble.com/How-to-copy-artifacts-%28and-dependencies%29-from-archiva-to-execution-environment--tp15993426p15993426.html
Sent from the archiva-users mailing list archive at Nabble.com.