You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2021/05/15 11:42:23 UTC

[directory-server] branch master updated: Exclude GitHub codeql-analysis.yml file, add missing license headers

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

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/master by this push:
     new 5991a59  Exclude GitHub codeql-analysis.yml file, add missing license headers
5991a59 is described below

commit 5991a5961808cdd6edff68b3873e915e79b8a3b3
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sat May 15 13:42:11 2021 +0200

    Exclude GitHub codeql-analysis.yml file, add missing license headers
---
 .../shared/client/api/BeforeAllInjector.java          | 19 +++++++++++++++++++
 pom.xml                                               |  2 ++
 .../core/integ/CreateLdapConnectionPoolExtension.java | 19 +++++++++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/BeforeAllInjector.java b/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/BeforeAllInjector.java
index ff86929..f4d21b0 100644
--- a/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/BeforeAllInjector.java
+++ b/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/BeforeAllInjector.java
@@ -1,3 +1,22 @@
+/*
+ *   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.
+ *
+ */
 package org.apache.directory.shared.client.api;
 
 
diff --git a/pom.xml b/pom.xml
index 5bac441..6f5991f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -401,6 +401,8 @@
               <exclude>**/*.bytecode</exclude>
               <!-- BMP_IMAGES_EXCLUDES -->
               <exclude>**/*.bmp</exclude>
+              <!-- exclude GitHub files (codeql-analysis.yml) -->
+              <exclude>.github/**</exclude>
             </excludes>
           </configuration>
         </plugin>
diff --git a/test-framework/src/main/java/org/apache/directory/server/core/integ/CreateLdapConnectionPoolExtension.java b/test-framework/src/main/java/org/apache/directory/server/core/integ/CreateLdapConnectionPoolExtension.java
index 97cb64c..cc013a7 100644
--- a/test-framework/src/main/java/org/apache/directory/server/core/integ/CreateLdapConnectionPoolExtension.java
+++ b/test-framework/src/main/java/org/apache/directory/server/core/integ/CreateLdapConnectionPoolExtension.java
@@ -1,3 +1,22 @@
+/*
+ *   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.
+ *
+ */
 package org.apache.directory.server.core.integ;
 
 import java.lang.reflect.AnnotatedElement;