Open mbap opened 7 years ago
@mbap you can move the plugin out of <build>
and into a Maven profile, like this:
<profiles>
<profile>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rpm-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
It would be nice to be able to skip building the rpm, while leaving it in an execution block.
I have some team members that run Windows, and they don't have cygwin or rpmbuild installed on naturally they would like the option to not fail the build do to a system dep they don't have.