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

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


The following commit(s) were added to refs/heads/master by this push:
     new b27ba19842 add rat head to m2.conf
b27ba19842 is described below

commit b27ba1984234f6a88085c84619717c9cb191f7bf
Author: XenoAmess <[email protected]>
AuthorDate: Tue Sep 24 22:17:41 2024 +0800

    add rat head to m2.conf
---
 apache-maven/pom.xml                        |  1 -
 apache-maven/src/assembly/maven/bin/m2.conf | 18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index 5648338578..eea46986c5 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -159,7 +159,6 @@ under the License.
           <artifactId>apache-rat-plugin</artifactId>
           <configuration>
             <excludes combine.children="append">
-              <exclude>src/assembly/maven/bin/m2.conf</exclude>
               <!-- these are partial scripts, resulting in mvn scripts -->
               <exclude>src/assembly/shared/init</exclude>
               <exclude>src/assembly/shared/init.cmd</exclude>
diff --git a/apache-maven/src/assembly/maven/bin/m2.conf 
b/apache-maven/src/assembly/maven/bin/m2.conf
index b14417163f..0d441f27de 100644
--- a/apache-maven/src/assembly/maven/bin/m2.conf
+++ b/apache-maven/src/assembly/maven/bin/m2.conf
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 main is org.apache.maven.cli.MavenCli from plexus.core
 
 set maven.conf default ${maven.home}/conf

Reply via email to