continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Fay" <wayne...@gmail.com>
Subject Re: Settings.xml not being recognized by Continuum
Date Thu, 01 Mar 2007 17:03:26 GMT
Yes, that's correct.

Wayne

On 3/1/07, Morgovsky, Alexander (US - Glen Mills)
<amorgovsky@deloitte.com> 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 <jo.vandermeeren@gmail.com> 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)
> <amorgovsky@deloitte.com>
> > 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:
> > >
> > > <profile>
> > >   <id>dev-mine</id>
> > >   <activation>
> > >     <property>
> > >       <name>foo</name>
> > >       <value>true</value>
> > >   </activation>
> > >   ...
> > > </profile>
> > >
> > > 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.
> > >
> > > <settings>
> > >   ...
> > >   <activeProfiles>
> > >     <activeProfile>dev-mine</activeProfile
> > >   </activeProfiles>
> > >   ...
> > > </settings>
> > >
> > > Cheers
> > > Jo
> > >
> > > On 2/28/07, Morgovsky, Alexander (US - Glen Mills)
> > > <amorgovsky@deloitte.com>
> > > wrote:
> > > >
> > > > I have a profile called <dev-mine> 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]
> > > >
> > >
> >
>

Mime
View raw message