Re: m2: Profile activation based on project (not System) property
Had the same request some weeks ago. The reply is ... not yet supported, only possible on maven 2.1 with some dedicated plugins... 2007/6/12, Samuel Le Berrigaud <[EMAIL PROTECTED]>: Hi Dave, did you get any reply to that? We are trying achieve a similar configuration and would appreciate any info. Anyone else maybe? Thanks, SaM On 5/25/07, Dave Syer <[EMAIL PROTECTED]> wrote: > > Is it possible to activate a profile based on a project property? It doesn't > seem to work in any obvious way, but can I do it at all? > > I want to define a profile in the parent pom, and activate it for some of > thh child modules, but not all, without the user having to change the > command line to specify a System property. If there is a better way to do > this I'd be happy to consider suggestions. > -- > View this message in context: http://www.nabble.com/m2%3A-Profile-activation-based-on-project-%28not-System%29-property-tf3815567s177.html#a10801263 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Samuel Le Berrigaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2: Profile activation based on project (not System) property
Hi Dave, did you get any reply to that? We are trying achieve a similar configuration and would appreciate any info. Anyone else maybe? Thanks, SaM On 5/25/07, Dave Syer <[EMAIL PROTECTED]> wrote: Is it possible to activate a profile based on a project property? It doesn't seem to work in any obvious way, but can I do it at all? I want to define a profile in the parent pom, and activate it for some of thh child modules, but not all, without the user having to change the command line to specify a System property. If there is a better way to do this I'd be happy to consider suggestions. -- View this message in context: http://www.nabble.com/m2%3A-Profile-activation-based-on-project-%28not-System%29-property-tf3815567s177.html#a10801263 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Samuel Le Berrigaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
m2: Profile activation based on project (not System) property
Is it possible to activate a profile based on a project property? It doesn't seem to work in any obvious way, but can I do it at all? I want to define a profile in the parent pom, and activate it for some of thh child modules, but not all, without the user having to change the command line to specify a System property. If there is a better way to do this I'd be happy to consider suggestions. -- View this message in context: http://www.nabble.com/m2%3A-Profile-activation-based-on-project-%28not-System%29-property-tf3815567s177.html#a10801263 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]