Is there any way to activate profile if another is activated.

Specifically I have one profile that is activated only on mac.
                        <activation>
                                <os>
                                        <family>mac</family>
                                </os>
                        </activation>

and second profile that is activated on release:

                        <id>release</id>

                        <activation>
                                <property>
                                        <name>release</name>
                                </property>
                        </activation>


I tried to add release property to the first profile so it looks like this:

                        <activation>
                                <property>
                                        <name>release</name>
                                </property>

                                <os>
                                        <family>mac</family>
                                </os>
                        </activation>

but profile was activated no matter if -Drelease property was specified -
the logical 'OR' is used when multiple activation conditions is used, so
it's always activated on Mac.

Oleksandr Maksymchuk, 
http://omax.org.ua OMax 
-- 
View this message in context: 
http://www.nabble.com/Activate-profile-if-another-is-activated.-tf4705724s177.html#a13450740
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to