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 21:19:16 UTC

[streampipes] 02/02: add checkstyle to streampipes-model-shared

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

bossenti pushed a commit to branch some-more-checkstyle-enablements
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit c9868a912eb443948f4f46d21d36105bf083edc4
Author: bossenti <bo...@posteo.de>
AuthorDate: Sun Dec 4 22:01:50 2022 +0100

    add checkstyle to streampipes-model-shared
---
 streampipes-model-shared/pom.xml | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/streampipes-model-shared/pom.xml b/streampipes-model-shared/pom.xml
index ff9004036..f973f91fb 100644
--- a/streampipes-model-shared/pom.xml
+++ b/streampipes-model-shared/pom.xml
@@ -27,5 +27,25 @@
 
     <artifactId>streampipes-model-shared</artifactId>
 
-
+    <build>
+        <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>
\ No newline at end of file