You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2022/11/30 10:18:01 UTC
[flink-connector-pulsar] branch main updated: [hotfix] Enable checkstyle only for source- and testsource directories, not for generated sources
This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-pulsar.git
The following commit(s) were added to refs/heads/main by this push:
new 40c2705 [hotfix] Enable checkstyle only for source- and testsource directories, not for generated sources
40c2705 is described below
commit 40c2705b1f8f0b91df5f718c26093c388c11332e
Author: Martijn Visser <ma...@apache.org>
AuthorDate: Wed Nov 30 11:17:54 2022 +0100
[hotfix] Enable checkstyle only for source- and testsource directories, not for generated sources
---
pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pom.xml b/pom.xml
index d4ade3b..2fca0a9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -650,6 +650,13 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <includeTestSourceDirectory>false</includeTestSourceDirectory>
+ <sourceDirectories>
+ <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+ <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory>
+ </sourceDirectories>
+ </configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>