Re: Re: Archiva as a service on CentOS (is it ok?)

2011-07-19 Thread cristiano . costantini
thank you for the RUN_AS_USER hint! that's what I was feeling was missing :-) while if I symlink it I fear that chkconfig --add will not work. Cristiano Il giorno , Brett Porter ha scritto: Looks right. You may also want to specify the RUN_AS_USER environment variable to run as a particula

Re: Archiva as a service on CentOS (is it ok?)

2011-07-19 Thread Brett Porter
Looks right. You may also want to specify the RUN_AS_USER environment variable to run as a particular account. Given what you have below, you might prefer to symlink the bin file to to /etc/init.d/archiva rather than having a wrapper script. - Brett On 20/07/2011, at 12:09 AM, Cristiano Costan

Archiva as a service on CentOS (is it ok?)

2011-07-19 Thread Cristiano Costantini
Hi all, I've set-up Archiva as service in CentOS in the way I describe below, I would like to ask you if you trust this solution or have to suggest a better one ;-) 0) First I've installed Archiva as a standalone, configured an tested it to until it runs way I want 1) I've created the file /etc/in

Re: Beginner needs help with Archiva

2011-07-19 Thread Soumen Trivedi
Hi Julien, There are multiple ways to achieve that. Do you wish to create a local archiva for test use, or an enterprise scale archiva hosted over intranet and make it available to more than one systems for development? It is worth noting that Archiva is designed to proxy the artifacts into your lo

Re: Beginner needs help with Archiva

2011-07-19 Thread Julien Martin
Hello Soumen and thanks for your reply, What I don't understand is what happens when I install a new artefact into my .m2 repository. The change is not going to be mirrored in the copy will it? Or maybe I don't understand the logic of repo managers? J. 2011/7/19 Soumen Trivedi > Hello, > One way

Re: Beginner needs help with Archiva

2011-07-19 Thread Soumen Trivedi
Hello, One way to put all your local .m2 repository content is to copy from ~/.m2/repository to ${archiva-install-dir}/data/repository/${managed-repository-name}/ ${archiva-install-dir} is the directory path to you Archiva installation, ${managed-repository-name} is the name of the managed reposit

Beginner needs help with Archiva

2011-07-19 Thread Julien Martin
Hello, I am new to Archiva which I have successfully installed and I would like to know how to add my local "~/.m2" repository to Archiva if that makes sense at all. Can anyone please help? Thanks in advance, Julien.