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 option to issue warnings instead of error in check goal #59

Closed
whut opened this issue Jan 8, 2020 · 2 comments
Closed

Add option to issue warnings instead of error in check goal #59

whut opened this issue Jan 8, 2020 · 2 comments
Assignees

Comments

@whut
Copy link

whut commented Jan 8, 2020

When the check goal is used, the build fails when the source code does not adheres to google-java-format. There should be an option to instead just issue a warning and do not fail the build.

For example lets name it warningsOnly:

<build>
    <plugins>
        <plugin>
            <groupId>com.coveo</groupId>
            <artifactId>fmt-maven-plugin</artifactId>
            <version>2.9</version>
            <configuration>
                <warningOnly>true</warningOnly>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>check</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
@klaraward
Copy link
Contributor

Solving in #153

@klaraward
Copy link
Contributor

Now live in version 2.19

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

2 participants