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

New option dsm.skip #36

Open
romani opened this issue Mar 24, 2016 · 0 comments
Open

New option dsm.skip #36

romani opened this issue Mar 24, 2016 · 0 comments

Comments

@romani
Copy link
Member

romani commented Mar 24, 2016

Please provide a skip option similar to:

http://mojo.codehaus.org/findbugs-maven-plugin/check-mojo.html#skip
http://mojo.codehaus.org/animal-sniffer-maven-plugin/check-mojo.html#skip
http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#skip
http://maven.apache.org/plugins/maven-pmd-plugin/check-mojo.html#skip

@parameter(property="dsm.skip", defaultValue="false")
private boolean skip;

That way one can enable the plugin by default and selectively not execute it
via:

mvn clean install -dsm.skip=true

or a profile:

<profile>
    <id>fast_build</id>
    <properties>
        <dsm.skip>true</dsm.skip>
    </properties>
</profile>

mvn clean install -P fast_build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant