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/04 13:25:46 UTC

[streampipes] branch dev updated: [#830] enable checkstyle for streampipes-archetype-extensions-jvm (#831)

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

bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


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

commit d79d057bddf5d44dc3e13e0e085923ace5aa1e92
Author: Tim <50...@users.noreply.github.com>
AuthorDate: Sun Dec 4 14:25:42 2022 +0100

    [#830] enable checkstyle for streampipes-archetype-extensions-jvm (#831)
---
 .../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>