Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature skip execution of native-maven-plugin mojos #15

Open
buzz3791 opened this issue Nov 29, 2017 · 1 comment
Open

Add feature skip execution of native-maven-plugin mojos #15

buzz3791 opened this issue Nov 29, 2017 · 1 comment

Comments

@buzz3791
Copy link
Contributor

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:
mojohaus/xml-maven-plugin#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.

@ctubbsii
Copy link
Contributor

ctubbsii commented May 4, 2018

I suggest naming the user property native.skip and the configuration property (for the POM) skip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants