Skip to content

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

Open
@buzz3791

Description

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.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions