Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 98434 invoked from network); 1 Mar 2007 17:21:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 17:21:10 -0000 Received: (qmail 95694 invoked by uid 500); 1 Mar 2007 17:21:16 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 95674 invoked by uid 500); 1 Mar 2007 17:21:16 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 95663 invoked by uid 99); 1 Mar 2007 17:21:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 09:21:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of waynefay@gmail.com designates 64.233.162.239 as permitted sender) Received: from [64.233.162.239] (HELO nz-out-0506.google.com) (64.233.162.239) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 09:21:05 -0800 Received: by nz-out-0506.google.com with SMTP id n29so232060nzf for ; Thu, 01 Mar 2007 09:20:44 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Fbqi1SzUmBG9TGA2jfNTI3ubAvAfNdDQ+XgkVw08qOzL+Wt42xIgzaJi1GnVmvcKGjTSuVNf5RVj5AZosIwQ3wDjZiiC2R6QXCpWQ7yK6w/u0VzsfJnfqlsnPxgpbnngVRNOue2cLBdJP/uT6q4Y2nwuS4QViZ6asrua1Hei6hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QuaR5eBAt+/h8hT6/BTcx5evmotd8c8Cty+X5oXszwfUnVnlQV2nUK3J4W8l3a2fQWG4mRxR6Cyb5mly4Co4Z4YvZcVvs1Yi++2OyBSkRYDr54S7zaqZbtFB0ChKB4+0t9aJjbs+uiY8SxsoylMG1ILhKNMjn20yJfDSJe14vRw= Received: by 10.114.205.1 with SMTP id c1mr138263wag.1172769610750; Thu, 01 Mar 2007 09:20:10 -0800 (PST) Received: by 10.114.136.17 with HTTP; Thu, 1 Mar 2007 09:20:10 -0800 (PST) Message-ID: <52bab8690703010920l3653ae88t594e4832f9d98e48@mail.gmail.com> Date: Thu, 1 Mar 2007 11:20:10 -0600 From: "Wayne Fay" To: continuum-users@maven.apache.org Subject: Re: Settings.xml not being recognized by Continuum In-Reply-To: <265E9EE670ED404DA5DBE42428204A446BD5E9@uscnt0416.us.deloitte.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <265E9EE670ED404DA5DBE42428204A4469ED0D@uscnt0416.us.deloitte.com> <29258f60702281511j2f97aa4ck23ea778c3d5b2a5e@mail.gmail.com> <265E9EE670ED404DA5DBE42428204A4469EE28@uscnt0416.us.deloitte.com> <29258f60703010043m10a6535o64f6ef4e6fefa5af@mail.gmail.com> <52bab8690703010829k70a112bfqe22186da8deb511c@mail.gmail.com> <265E9EE670ED404DA5DBE42428204A4469F040@uscnt0416.us.deloitte.com> <29258f60703010907g70a1cf01ubc0a35043058679c@mail.gmail.com> <265E9EE670ED404DA5DBE42428204A446BD5E9@uscnt0416.us.deloitte.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes, I didn't quite go this far in my email but its really a good idea to set up local user accounts with very limited functionality for each product/service and then install services and have them run under that account. Then if we discover a root exploit in Continuum, you don't really have to worry too much about your entire server getting compromised and losing all your data since the damage would be limited to only the data your Continuum instance has access to. This is a best practice on any operating system for a server. Wayne On 3/1/07, Morgovsky, Alexander (US - Glen Mills) wrote: > Excellent, thank you for your help. > > -----Original Message----- > From: Jo Vandermeeren [mailto:jo.vandermeeren@gmail.com] > Sent: Thursday, March 01, 2007 12:08 PM > To: continuum-users@maven.apache.org > Subject: Re: Settings.xml not being recognized by Continuum > > Hi Alexander, > > Actually it's good practice to create an appropriate user for the > service.. > So, you should create a user on the local machine called "continuum" for > example.. > > Then, log in as user "continuum" on the machine and make sure that maven > and > subversion client (or whatever scm client you use) works appropriately. > Build your application and if everything works, install continuum as a > service (on windows it's bin/win32/InstallService.bat or something).. > > You can save your settings.xml file as "C:\Documents and > Settings\continuum\.m2\settings.xml".. > > Then, go to the "Start>Run...>" , type "services.msc" and press enter.. > This > will bring up a window with services settings.. > You can now assign the "continuum" user to service "continuum", enter > the > password for the user, and voila.. it works.. > > Good luck > Jo > > > On 3/1/07, Morgovsky, Alexander (US - Glen Mills) > > wrote: > > > > Yes, I just verified this and it is running as a service under "Local > > Service." Does this mean that I should add the settings.xml file to: > > C:\Documents and Settings\Administrator\.m2\ ? > > > > I appreciate your help. Thanks. > > > > -----Original Message----- > > From: Wayne Fay [mailto:waynefay@gmail.com] > > Sent: Thursday, March 01, 2007 11:29 AM > > To: continuum-users@maven.apache.org > > Subject: Re: Settings.xml not being recognized by Continuum > > > > Continuum is running as a service, but there's always a user > associated > > with it. > > > > On Windows, your service is probably running as "Local Service" which > > means the user is Administrator. Or you can specify the user in the > > Services configuration. > > > > On Linux, the service is probably owned by root, unless you've set up > > a local user and group to own/run the service (which is a good > > practice). > > > > Wayne > > > > On 3/1/07, Jo Vandermeeren wrote: > > > Hi Alexander, > > > > > > You can start continuum as a service or via the command line > > interface. > > > Check who is running the continuum service, and simply put the > > > settings.xmlfile in the ".m2" directory relative to that user's home > > > directory. > > > I have no other way of explaining it, it's just like that.. > > > > > > Good luck > > > Jo > > > > > > On 3/1/07, Morgovsky, Alexander (US - Glen Mills) > > > > > wrote: > > > > > > > > Hi. I am running Continuum as a service. I put in active profile > > into > > > > the settings.xml. I put this into ~/.m2/settings.xml, > > maven_home/conf, > > > > but no success. How else can I start Continuum and have this > work? > > > > Please help. > > > > > > > > -----Original Message----- > > > > From: Jo Vandermeeren [mailto:jo.vandermeeren@gmail.com] > > > > Sent: Wednesday, February 28, 2007 6:11 PM > > > > To: continuum-users@maven.apache.org > > > > Subject: Re: Settings.xml not being recognized by Continuum > > > > > > > > Hi Alexander, > > > > > > > > When continuum runs maven, maven will look for its settings.xml > file > > in > > > > the > > > > maven directory of the user that has started the continuum process > > > > (~/.m2/settings.xml). > > > > > > > > Define your profile in settings.xml and specify activation: > > > > > > > > > > > > dev-mine > > > > > > > > > > > > foo > > > > true > > > > > > > > ... > > > > > > > > > > > > Then define the property when you specify the command that > continuum > > > > should > > > > call: "mvn -Dfoo=true deploy".. > > > > > > > > If you want the profile to be active all the time, activate it in > > the > > > > settings.xml file. > > > > > > > > > > > > ... > > > > > > > > dev-mine > > > > > > > ... > > > > > > > > > > > > Cheers > > > > Jo > > > > > > > > On 2/28/07, Morgovsky, Alexander (US - Glen Mills) > > > > > > > > wrote: > > > > > > > > > > I have a profile called which contains version > specific > > > > > information and scm specific information which needs to be > loaded > > > > during > > > > > adding the Maven 2 Project POM. How can I add the project and > > pass > > > > the > > > > > name of the profile with -P dev-mine to be read from the > > settings.xml > > > > > file? Also, where should I place the settings.xml file for > > Continuum > > > > to > > > > > read it? Thanks. > > > > > > > > > > > > > > > This message (including any attachments) contains confidential > > > > information > > > > > intended for a specific individual and purpose, and is protected > > by > > > > law. If > > > > > you are not the intended recipient, you should delete this > > message. > > > > > > > > > > > > > > > Any disclosure, copying, or distribution of this message, or the > > > > taking of > > > > > any action based on it, is strictly prohibited. [v.E.1] > > > > > > > > > > > > > > >