This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-parent.git
The following commit(s) were added to refs/heads/master by this push:
new f31f3fd Use excludeGeneratedSources for checkstyle
f31f3fd is described below
commit f31f3fd645b6d598e3dc42f0b52e9a45eb63b1f6
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Feb 24 21:07:39 2025 +0100
Use excludeGeneratedSources for checkstyle
---
pom.xml | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index cf37252..04f3661 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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 -->