You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2022/04/25 17:42:28 UTC

[tomee] branch master updated: TOMEE-3925 - Adds *.crt and *.key to RAT excludes, adds missing ASL header

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f2ea1b4f70 TOMEE-3925 - Adds *.crt and *.key to RAT excludes, adds missing ASL header
f2ea1b4f70 is described below

commit f2ea1b4f70228d72ce6d08daa3a55e255d5eb870
Author: Richard Zowalla <13...@users.noreply.github.com>
AuthorDate: Mon Apr 25 19:42:22 2022 +0200

    TOMEE-3925 - Adds *.crt and *.key to RAT excludes, adds missing ASL header
---
 .../websocket-tls-basic-auth/src/main/conf/snippets.sh  | 17 +++++++++++++++++
 pom.xml                                                 |  2 ++
 2 files changed, 19 insertions(+)

diff --git a/examples/websocket-tls-basic-auth/src/main/conf/snippets.sh b/examples/websocket-tls-basic-auth/src/main/conf/snippets.sh
index 394faaec76..dc53f1fd3a 100644
--- a/examples/websocket-tls-basic-auth/src/main/conf/snippets.sh
+++ b/examples/websocket-tls-basic-auth/src/main/conf/snippets.sh
@@ -1,3 +1,20 @@
+#! /bin/sh
+
+# 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.
+
 # Generate self-signed certifacte store
 keytool -genkey -alias tomcat -keyalg RSA -keystore keystore.jks -validity 36000
 
diff --git a/pom.xml b/pom.xml
index 24016c87ca..2e94a25006 100644
--- a/pom.xml
+++ b/pom.xml
@@ -876,6 +876,8 @@
                 <exclude>**/js/livereload.js</exclude>
                 <exclude>**/*.ser</exclude>
                 <exclude>**/*.pem</exclude>
+                <exclude>**/*.crt</exclude>
+                <exclude>**/*.key</exclude>
                 <exclude>**/*.adoc</exclude>
                 <exclude>**/*.md</exclude>
                 <exclude>**/*.log</exclude>