You can activate profile just only use system properties or java version. But you can also write small plugin witch will get ${os.name} and then set to your ${maven.os.family} on initialize phase of build process.
Please read about this in Chapter 5.4.1 in book "Better build with Maven 2" http://www.mergere.com/m2book_download.jsp Graham Leggett wrote: > > On Mon, February 5, 2007 3:24 pm, [EMAIL PROTECTED] wrote: > >> If you read your own link :) > > And if you read my question you'll see I am asking whether it's possible > to access the OS family through a macro such as ${maven.os.family}. I am > well aware that it is possible to activate profiles by OS family, but that > is not what I am trying to achieve here. > > ;) > > Regards, > Graham > -- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/RE%3A-Reading-the-current-OS-family-tf3174277s177.html#a8824370 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]