You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff Mutonho <ej...@gmail.com> on 2007/06/13 09:53:45 UTC
Passing a maven profile to Continuum
I'm posting this to both the maven and continuum forum.
How do I specify a maven profile to continuum , using continuum's
project configuration.
Currently my Goals are specified as "clean install site-deploy" , in
the continuum project configuration.
--
"Don't take the name of root in vain."
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Passing a maven profile to Continuum
Posted by Jeff Mutonho <ej...@gmail.com>.
I'm posting this to both the maven and continuum forum.
How do I specify a maven profile to continuum , using continuum's
project configuration.
Currently my Goals are specified as "clean install site-deploy" , in
the continuum project configuration.
--
"Don't take the name of root in vain."
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
Re: Passing a maven profile to Continuum
Posted by John Casey <jd...@commonjava.org>.
One thing you should know about profiles, if you don't already:
They are not inherited as such. Instead, they are injected at the
level in which they are declared (if they're activated, that is), and
then their _effects_ are inherited. I can't remember ATM whether -
Pprofile_id will trigger a profile in a parent POM (since Continuum
fragments a multi-module build into many atomic builds, then runs
each using resolution for things like parent POM), but I think it
should, so this little tidbit should not affect you.
Just something to be aware of.
-john
On Jun 13, 2007, at 4:17 AM, Jeff Mutonho wrote:
> On 6/13/07, Emmanuel Venisse <em...@venisse.net> wrote:
>> The continuum ML is continuum-users@maven.apache.org
>
> Thanks. I noticed immediately after sending :)
>
>>
>> Edit the build definition of your project
>> Checnge the golas list by adding your profile: "clean install site-
>> deploy -Pprofile_id"
>>
>> Where is declared your profiles?
>>
> The declared profiles are in my projects top level pom.xml file
>
>
>>
>> Jeff Mutonho a écrit :
>> > I'm posting this to both the maven and continuum forum.
>> > How do I specify a maven profile to continuum , using continuum's
>> > project configuration.
>> > Currently my Goals are specified as "clean install site-
>> deploy" , in
>> > the continuum project configuration.
>> >
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> --
>
> "Don't take the name of root in vain."
>
> Jeff Mutonho
> Cape Town
> South Africa
>
> GoogleTalk : ejbengine
> Skype : ejbengine
> Registered Linux user number 366042
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john
Re: Passing a maven profile to Continuum
Posted by Jeff Mutonho <ej...@gmail.com>.
On 6/13/07, Emmanuel Venisse <em...@venisse.net> wrote:
> The continuum ML is continuum-users@maven.apache.org
Thanks. I noticed immediately after sending :)
>
> Edit the build definition of your project
> Checnge the golas list by adding your profile: "clean install site-deploy -Pprofile_id"
>
> Where is declared your profiles?
>
The declared profiles are in my projects top level pom.xml file
>
> Jeff Mutonho a écrit :
> > I'm posting this to both the maven and continuum forum.
> > How do I specify a maven profile to continuum , using continuum's
> > project configuration.
> > Currently my Goals are specified as "clean install site-deploy" , in
> > the continuum project configuration.
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
"Don't take the name of root in vain."
Jeff Mutonho
Cape Town
South Africa
GoogleTalk : ejbengine
Skype : ejbengine
Registered Linux user number 366042
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Passing a maven profile to Continuum
Posted by Emmanuel Venisse <em...@venisse.net>.
The continuum ML is continuum-users@maven.apache.org
Edit the build definition of your project
Checnge the golas list by adding your profile: "clean install site-deploy -Pprofile_id"
Where is declared your profiles?
Emmanuel
Jeff Mutonho a écrit :
> I'm posting this to both the maven and continuum forum.
> How do I specify a maven profile to continuum , using continuum's
> project configuration.
> Currently my Goals are specified as "clean install site-deploy" , in
> the continuum project configuration.
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org