You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Donszelmann, Mark" <du...@slac.stanford.edu> on 2005/10/17 01:41:22 UTC

[m2rc] Profile activation based on OS

Hi

any idea why the following POM fragment does not seem to work:

    <profiles>
        <profile>
            <id>windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
         </profile>
    </profiles>

when I do a "m2 projecthelp:activeprofiles"

it says no profiles are active.

While if I activate a profile based on a "file" or "jdk" it does work.



Regards
Mark Donszelmann

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org