You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2022/12/03 19:18:09 UTC

[streampipes] branch 830-streampipes-archetype-extensions-jvm updated: [#830] enable checkstyle for streampipes-archetype-extensions-jvm

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch 830-streampipes-archetype-extensions-jvm
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/830-streampipes-archetype-extensions-jvm by this push:
     new 2b5c29aac [#830] enable checkstyle for streampipes-archetype-extensions-jvm
2b5c29aac is described below

commit 2b5c29aace165c8079e73adee2820690fd559746
Author: bossenti <bo...@posteo.de>
AuthorDate: Sat Dec 3 20:17:40 2022 +0100

    [#830] enable checkstyle for streampipes-archetype-extensions-jvm
---
 .../streampipes-archetype-extensions-jvm/pom.xml      | 19 +++++++++++++++++++
 pom.xml                                               |  7 +++++++
 2 files changed, 26 insertions(+)

diff --git a/archetypes/streampipes-archetype-extensions-jvm/pom.xml b/archetypes/streampipes-archetype-extensions-jvm/pom.xml
index f9f1152d6..347366389 100644
--- a/archetypes/streampipes-archetype-extensions-jvm/pom.xml
+++ b/archetypes/streampipes-archetype-extensions-jvm/pom.xml
@@ -47,5 +47,24 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>validate</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <logViolationsToConsole>true</logViolationsToConsole>
+                    <failOnViolation>true</failOnViolation>
+                </configuration>
+            </plugin>
+        </plugins>
     </build>
 </project>
diff --git a/pom.xml b/pom.xml
index 05a533168..8fd18f063 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1776,6 +1776,13 @@ IoT data streams.
 						<exclude>licenses/EPL_1.0</exclude>
 						<exclude>licenses/BSD_2-Clause</exclude>
 
+						<!-- Exclude Python env -->
+						<exclude>**/venv/**</exclude>
+						<exclude>**/.pytest_cache/**</exclude>
+						<exclude>.ruff_cache/**</exclude>
+						<exclude>.mypy_cache/**</exclude>
+
+
 					</excludes>
 				</configuration>
 			</plugin>