Re: [mojo-user] Skipping a plugin execution based on a condition

2010-01-04 Thread Stephen Connolly
put the plugin execution in a profile activated when the OS is !windows 2010/1/4 Kannan Ekanath : > Hi, > I have got the maven rpm plugin (http://mojo.codehaus.org/rpm-maven-plugin) > to work when I do a mvn rpm:rpm. > I wanted to invoke this goal as part of the "install" phase. However if the > h

[mojo-user] Skipping a plugin execution based on a condition

2010-01-04 Thread Kannan Ekanath
Hi, I have got the maven rpm plugin (http://mojo.codehaus.org/rpm-maven-plugin) to work when I do a mvn rpm:rpm. I wanted to invoke this goal as part of the "install" phase. However if the host machine is a windows OS then the plugin execution should skip (since otherwise it would fail). Is there