'How can i supress checkstyle Errors/warnings for a module?
I want to supress all checkstyle errors/warnings for a module in my project. When i start building with mvn it crashes. What i tried so far is
<suppress files="[\\/]generated-sources[\\/]" checks="[a-zA-Z0-9]*"/>
But it does not work. i also tried to supress it in the pom of the module
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<excludes>path/to/your/class/from/sources/root/myclass.java</excludes>
</configuration>
</plugin>
But nothing changed. I still have the checkstyle errors. I dont want to solve them because there are a lot of them and the module will be replaced soon.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
