On Dec 27, 2007 5:51 PM, Steinar Bang <[EMAIL PROTECTED]> wrote:
> Is it possible to activate a profile in the top POM from settings.xml?
>
> What I want to do is to have a set of properties describing OS name, and
> architecture of shared libraries (ie. redhat4 and x86, or win32 and
> x86_64) for different build systems, and to have a single switch in
> settings.xml, to set the right set of values for a configuration.
>
> Is this possible to do?

yes, add something like this:

<activeProfiles>
   <activeProfile>idOfProfile</activeProfile>
   <activeProfile>idOfOtherProfile</activeProfile>
</activeProfiles>

listing profiles that needs to be activated at the end of settings.xml
file (before </settings>).

Regards,
Tomejk

>
> Thanx!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to