You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/11/24 09:48:20 UTC

[streampipes] branch STREAMPIPES-648 created (now 29f26482c)

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

zehnder pushed a change to branch STREAMPIPES-648
in repository https://gitbox.apache.org/repos/asf/streampipes.git


      at 29f26482c [STREAMPIPES-648] Add license header check to checkstyle.xml

This branch includes the following new commits:

     new 29f26482c [STREAMPIPES-648] Add license header check to checkstyle.xml

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[streampipes] 01/01: [STREAMPIPES-648] Add license header check to checkstyle.xml

Posted by ze...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch STREAMPIPES-648
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 29f26482cd84b08f1b1479dad4c67ab7a54fad9b
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Thu Nov 24 10:48:01 2022 +0100

    [STREAMPIPES-648] Add license header check to checkstyle.xml
---
 tools/maven/checkstyle-header.txt | 16 ++++++++++++++++
 tools/maven/checkstyle.xml        |  5 +++++
 2 files changed, 21 insertions(+)

diff --git a/tools/maven/checkstyle-header.txt b/tools/maven/checkstyle-header.txt
new file mode 100644
index 000000000..f974c9ac4
--- /dev/null
+++ b/tools/maven/checkstyle-header.txt
@@ -0,0 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
\ No newline at end of file
diff --git a/tools/maven/checkstyle.xml b/tools/maven/checkstyle.xml
index 07fdc1fb2..9b099b769 100644
--- a/tools/maven/checkstyle.xml
+++ b/tools/maven/checkstyle.xml
@@ -27,6 +27,11 @@ page at http://checkstyle.sourceforge.net/config.html -->
 <module name="Checker">
     <property name="severity" value="error"/>
 
+    <module name="Header">
+        <property name="headerFile" value="tools/maven/checkstyle-header.txt"/>
+        <property name="fileExtensions" value="java"/>
+    </module>
+
     <module name="FileTabCharacter">
         <!-- Checks that there are no tab characters in the file. -->
     </module>