Use case:
Multi-module maven project with hundreds of Java and dozens of C/C++ child modules. Our project takes 20 minutes to build; almost 10 minutes are from the C/C++ modules. Most developers are only making changes to the hundreds of Java projects and would get back a significant amount of time if the C/C++ modules could be optionally skipped.
Please add the ability to skip execution of the native-maven-plugin mojos.
Many maven plugins support skipping execution. Examples: maven-nar: http://maven-nar.github.io/nar-compile-mojo.html#skip maven-surefire-plugin: http://maven.apache.org/plugins-archives/maven-surefire-plugin-2.12.4/examples/skipping-test.html maven-compiler-plugin: https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#skipMain xml-maven-plugin: https://github.com/mojohaus/xml-maven-plugin/issues/2
Use case: Multi-module maven project with hundreds of Java and dozens of C/C++ child modules. Our project takes 20 minutes to build; almost 10 minutes are from the C/C++ modules. Most developers are only making changes to the hundreds of Java projects and would get back a significant amount of time if the C/C++ modules could be optionally skipped.