Hi!

I would like to have a bunch of properties set differently for Mac, Linux
and Windows.

So I have inserted this
<profile>
            <id>linux</id>
            <activation>
                <os>
                    <family>unix</family>
                </os>
            </activation>
            <properties>
            </properties>
        </profile>
        <profile>
            <id>mac</id>
            <activation>
                <os>
                    <family>mac</family>
                </os>
            </activation>
            <properties>
            </properties>
        </profile>
        <profile>
            <id>windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <properties>
            </properties>
        </profile>

This works because on Linux only unix is activated and on the mac unix AND
mac are activated but the mac profile overrides the unix/linux values.

Now imho this is kind of error prone. With the wrong order it would not
work or if the order in a Maven version becomes random it might or might
not work.

So my question is if there is a better way and if I should file a bug
around this? Any thoughts?

manfred

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to