rpm-maven-plugin icon indicating copy to clipboard operation
rpm-maven-plugin copied to clipboard

Add a property to skip the execution of the plugin

Open obfischer opened this issue 8 years ago • 2 comments

I would like to have a property (e.g. rpm.skip) to skip the execution of the RPM plugin during a build.

obfischer avatar Oct 02 '15 09:10 obfischer

@obfischer: Just as an idea: We've solved this using Maven profiles: https://github.com/elastic/elasticsearch/blob/2.x/distribution/pom.xml#L292-L321 - but we have a separate subproject just for RPMs so that's pretty easy for us.

danielmitterdorfer avatar Mar 14 '16 15:03 danielmitterdorfer

Hi @danielmitterdorfer, at the moment I use also an profile for this. The requested skip property would be a nice to have and would help us to write simpler POMs. ;-)

obfischer avatar May 23 '17 08:05 obfischer