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:24:22 UTC

[streampipes] branch 832-streampipes-archetype-pe-sinks-flink updated: [#832] enable checkstyle for streampipes-archetype-pe-sinks-flink

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

bossenti pushed a commit to branch 832-streampipes-archetype-pe-sinks-flink
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/832-streampipes-archetype-pe-sinks-flink by this push:
     new dbed73727 [#832] enable checkstyle for streampipes-archetype-pe-sinks-flink
dbed73727 is described below

commit dbed73727bd23fd2a8262b3c3977c9e6d5893fed
Author: bossenti <bo...@posteo.de>
AuthorDate: Sat Dec 3 20:24:04 2022 +0100

    [#832] enable checkstyle for streampipes-archetype-pe-sinks-flink
---
 .../streampipes-archetype-pe-sinks-flink/pom.xml      | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/archetypes/streampipes-archetype-pe-sinks-flink/pom.xml b/archetypes/streampipes-archetype-pe-sinks-flink/pom.xml
index 0771e8f8e..498db5948 100644
--- a/archetypes/streampipes-archetype-pe-sinks-flink/pom.xml
+++ b/archetypes/streampipes-archetype-pe-sinks-flink/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>