Skip to content

Commit

Permalink
Use excludeGeneratedSources for checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Feb 26, 2025
1 parent b2462d0 commit f31f3fd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,14 +1079,8 @@ under the License.
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>config/maven_checks_nocodestyle.xml</configLocation>
<!-- workaround to avoid analysing generated content (Modello, plugin help mojo, ...) -->
<sourceDirectories>
<sourceDirectory>src/main/java</sourceDirectory>
</sourceDirectories>
<testSourceDirectories>
<testSourceDirectory>src/test/java</testSourceDirectory>
</testSourceDirectories>
<includeTestSourceDirectory>${checkstyle.includeTestSourceDirectory}</includeTestSourceDirectory>
<excludeGeneratedSources>true</excludeGeneratedSources>
</configuration>
<dependencies>
<!-- MCHECKSTYLE-327: the maven_checks.xml was moved to a shared project -->
Expand Down

0 comments on commit f31f3fd

Please sign in to comment.