exasol / error-code-crawler-maven-plugin

Validator and crawler for exasol-error-codes in Java code
MIT License
1 stars 1 forks source link

Add configuration option to skip execution #73

Closed kaklakariada closed 2 years ago

kaklakariada commented 2 years ago

In some situations it is useful to skip execution of the error code crawler plugin, e.g. when source code is written in Lua and only integration tests are in Java.

While it's possible to force skipping the execution with something like the following, a dedicated configuration option skip with default value false is preferable.

            <plugin>
                <groupId>com.exasol</groupId>
                <artifactId>error-code-crawler-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>verify</id>
                        <!-- intentionally switched off the Java crawler for Lua projects -->
                        <phase>dont-execute</phase>
                    </execution>
                </executions>
            </plugin>