You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/07/14 14:24:00 UTC
[commons-rng] 06/23: Bind checkstyle to verify phase so the
ApplicationException is compiled
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit dcb10b9bfd2ad16a3d4342333e1f0f8be980bcc3
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Jul 14 14:07:08 2021 +0100
Bind checkstyle to verify phase so the ApplicationException is compiled
---
commons-rng-examples/examples-stress/pom.xml | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/commons-rng-examples/examples-stress/pom.xml b/commons-rng-examples/examples-stress/pom.xml
index 6d576a3..4407f64 100644
--- a/commons-rng-examples/examples-stress/pom.xml
+++ b/commons-rng-examples/examples-stress/pom.xml
@@ -67,14 +67,16 @@
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <!-- The custom ApplicationException cannot be loaded by checkstyle unless the source is
- compiled. Checkstyle runs in the validate phase and fails unless the
- module JavadocMethod has property suppressLoadErrors=true. Workaround setting this
- globally in the configuration file by suppressing fail locally to this module.
- See: https://checkstyle.sourceforge.io/config_javadoc.html#JavadocMethod -->
- <failOnViolation>false</failOnViolation>
- </configuration>
+ <!-- The custom ApplicationException cannot be loaded by checkstyle unless the source is
+ compiled. Checkstyle runs in the validate phase so here we switch to verify -->
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>