This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new 3d1d4117 chore: add Apache license headers to logback configs, pom.xml
and test scripts (#974)
3d1d4117 is described below
commit 3d1d4117f4a1a903a2911fa0018b98e0ed50e550
Author: PJ Fanning <[email protected]>
AuthorDate: Thu Sep 17 20:28:23 2026 +0100
chore: add Apache license headers to logback configs, pom.xml and test
scripts (#974)
Motivation:
A scan of the source tree found files with no Apache license header:
three logback.xml configs, the kubernetes-api-java pom.xml, and two
integration-test shell scripts. None are covered by sbt-header (XML and
shell have no mapping), so headerCheckAll never flags them.
Modification:
Add the "derived from Akka" Apache header, copied verbatim from
CopyrightHeader.apacheFromAkkaSourceHeader, to each file. All six files
predate the 2022 fork. For XML the header is a comment directly after
the XML declaration where one exists; for shell scripts it follows the
shebang, matching the existing integration-test/kubernetes-api/test.sh.
Executable bits are preserved.
Result:
All logback configs, XML files and shell scripts carry an Apache license
header. No behavior change.
Tests:
- Not run - license header only change. XML files validated with
xmllint --noout; scripts pass bash -n; git diff --summary shows no
mode changes.
References:
None - license header hygiene, equivalent of apache/pekko#3545
---
integration-test/kubernetes-api-java/pom.xml | 8 ++++++++
.../kubernetes-api-java/src/main/resources/logback.xml | 8 ++++++++
integration-test/kubernetes-api-java/test.sh | 9 ++++++++-
integration-test/kubernetes-api/src/main/resources/logback.xml | 8 ++++++++
integration-test/kubernetes-dns/test.sh | 9 ++++++++-
.../rolling-update-kubernetes/src/main/resources/logback.xml | 8 ++++++++
6 files changed, 48 insertions(+), 2 deletions(-)
diff --git a/integration-test/kubernetes-api-java/pom.xml
b/integration-test/kubernetes-api-java/pom.xml
index 9cc01141..7259a9ce 100644
--- a/integration-test/kubernetes-api-java/pom.xml
+++ b/integration-test/kubernetes-api-java/pom.xml
@@ -1,3 +1,11 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ license agreements; and to You under the Apache License, version 2.0:
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ This file is part of the Apache Pekko project, which was derived from Akka.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.pekko</groupId>
diff --git
a/integration-test/kubernetes-api-java/src/main/resources/logback.xml
b/integration-test/kubernetes-api-java/src/main/resources/logback.xml
index dfe6fc8f..ab037786 100644
--- a/integration-test/kubernetes-api-java/src/main/resources/logback.xml
+++ b/integration-test/kubernetes-api-java/src/main/resources/logback.xml
@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ license agreements; and to You under the Apache License, version 2.0:
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ This file is part of the Apache Pekko project, which was derived from Akka.
+-->
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
diff --git a/integration-test/kubernetes-api-java/test.sh
b/integration-test/kubernetes-api-java/test.sh
index 0e762df3..a3727494 100755
--- a/integration-test/kubernetes-api-java/test.sh
+++ b/integration-test/kubernetes-api-java/test.sh
@@ -1,5 +1,12 @@
#!/bin/bash
-
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# license agreements; and to You under the Apache License, version 2.0:
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# This file is part of the Apache Pekko project, which was derived from Akka.
+#
set -exu
VERSION=`sbt publishM2 | grep pekko-management-cluster-bootstrap_2.13 | tail
-1 | cut -d "/" -f 10`
diff --git a/integration-test/kubernetes-api/src/main/resources/logback.xml
b/integration-test/kubernetes-api/src/main/resources/logback.xml
index dfe6fc8f..ab037786 100644
--- a/integration-test/kubernetes-api/src/main/resources/logback.xml
+++ b/integration-test/kubernetes-api/src/main/resources/logback.xml
@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ license agreements; and to You under the Apache License, version 2.0:
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ This file is part of the Apache Pekko project, which was derived from Akka.
+-->
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
diff --git a/integration-test/kubernetes-dns/test.sh
b/integration-test/kubernetes-dns/test.sh
index 763d6f1e..73cb35a4 100755
--- a/integration-test/kubernetes-dns/test.sh
+++ b/integration-test/kubernetes-dns/test.sh
@@ -1,5 +1,12 @@
#!/bin/bash
-
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# license agreements; and to You under the Apache License, version 2.0:
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# This file is part of the Apache Pekko project, which was derived from Akka.
+#
set -exu
export NAMESPACE=pekko-bootstrap-demo-ns
diff --git
a/integration-test/rolling-update-kubernetes/src/main/resources/logback.xml
b/integration-test/rolling-update-kubernetes/src/main/resources/logback.xml
index 4ed45763..bd100646 100644
--- a/integration-test/rolling-update-kubernetes/src/main/resources/logback.xml
+++ b/integration-test/rolling-update-kubernetes/src/main/resources/logback.xml
@@ -1,4 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ license agreements; and to You under the Apache License, version 2.0:
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ This file is part of the Apache Pekko project, which was derived from Akka.
+-->
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]