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

Skip config option #12

Closed
cha55son opened this issue Aug 21, 2018 · 2 comments
Closed

Skip config option #12

cha55son opened this issue Aug 21, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cha55son
Copy link

Like many other maven plugins it would be great to be able to skip execution. For example my parent pom contains the following:

            <plugin>
                <groupId>com.github.ozsie</groupId>
                <artifactId>detekt-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

then in a submodule I may not want it to run so I would add something like this:

            <plugin>
                <groupId>com.github.ozsie</groupId>
                <artifactId>detekt-maven-plugin</artifactId>
                <configuration>
                  <skip>true</skip>
                </configuration>
            </plugin>

Just a thought, I appreciate the plugin!

@Ozsie
Copy link
Owner

Ozsie commented Aug 22, 2018

I like the idea, I'll have a look at it.

@Ozsie Ozsie self-assigned this Aug 22, 2018
@Ozsie Ozsie added the enhancement New feature or request label Aug 22, 2018
@Ozsie Ozsie closed this as completed in 81626d0 Sep 21, 2018
@Ozsie
Copy link
Owner

Ozsie commented Sep 21, 2018

Implemented in 1.0.0.RC9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants