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

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new a8fbaaf  Add ALv2 header and ensure all yaml files are checked
a8fbaaf is described below

commit a8fbaaf31bbc70d239726e853549fe439cc08e8d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 5 16:08:31 2020 +0100

    Add ALv2 header and ensure all yaml files are checked
    
    Spotted via RAT report on ci.apache.org
    I checked the yaml + ALv2 header with several on-line validators and all
    reported it as valid.
---
 res/checkstyle/checkstyle.xml |  2 +-
 res/tomcat-maven/tomcat.yaml  | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/res/checkstyle/checkstyle.xml b/res/checkstyle/checkstyle.xml
index c0d687c..6fb7231 100644
--- a/res/checkstyle/checkstyle.xml
+++ b/res/checkstyle/checkstyle.xml
@@ -31,7 +31,7 @@
   <module name="RegexpHeader">
     <property name="headerFile" 
value="${basedir}/res/checkstyle/header-al2.txt"/>
     <property name="multiLines" value="1, 2, 3, 4"/>
-    <property name="fileExtensions" 
value="java,xml,jsp,txt,sh,bat,properties"/>
+    <property name="fileExtensions" 
value="java,xml,jsp,txt,sh,bat,properties,yaml"/>
   </module>
 
   <!-- Whitespace -->
diff --git a/res/tomcat-maven/tomcat.yaml b/res/tomcat-maven/tomcat.yaml
index 9f115eb..d15a7f3 100644
--- a/res/tomcat-maven/tomcat.yaml
+++ b/res/tomcat-maven/tomcat.yaml
@@ -1,3 +1,18 @@
+# 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.
+
 kind: Deployment
 apiVersion: extensions/v1beta1
 metadata:


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to