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:[EMAIL PROTECTED] 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) <[EMAIL PROTECTED]> 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] >