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

nvollmar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-management.git


The following commit(s) were added to refs/heads/main by this push:
     new 1d38460  Adds apache header (#8)
1d38460 is described below

commit 1d3846005e2019256207802aeadb89f22764c3a7
Author: Nicolas Vollmar <[email protected]>
AuthorDate: Tue Jan 17 13:23:47 2023 +0100

    Adds apache header (#8)
    
    * Adds apache header
    * Adds configures header plugin similar to Pekko
---
 .github/workflows/checks.yml                       |  2 +-
 .../cluster/bootstrap/BootstrapLogMarker.scala     |  9 +++
 .../cluster/bootstrap/ClusterBootstrap.scala       |  9 +++
 .../bootstrap/ClusterBootstrapSettings.scala       |  9 +++
 .../management/cluster/bootstrap/JoinDecider.scala |  9 +++
 .../bootstrap/LowestAddressJoinDecider.scala       |  9 +++
 .../cluster/bootstrap/SelfAwareJoinDecider.scala   |  9 +++
 .../contactpoint/HttpBootstrapJsonProtocol.scala   |  9 +++
 .../contactpoint/HttpClusterBootstrapRoutes.scala  |  9 +++
 .../bootstrap/internal/BootstrapCoordinator.scala  |  9 +++
 .../internal/HttpContactPointBootstrap.scala       |  9 +++
 .../bootstrap/ClusterBootstrapJavaCompileTest.java |  9 +++
 .../bootstrap/ClusterBootstrapCompileOnly.java     |  9 +++
 .../test/scala/akka/discovery/MockDiscovery.scala  |  9 +++
 .../cluster/bootstrap/AbstractBootstrapSpec.scala  |  9 +++
 .../bootstrap/ClusterBootstrapSettingsSpec.scala   |  9 +++
 .../cluster/bootstrap/InactiveBootstrapSpec.scala  |  9 +++
 .../bootstrap/LowestAddressJoinDeciderSpec.scala   |  9 +++
 .../ClusterBootstrapAutostartIntegrationSpec.scala |  9 +++
 .../ClusterBootstrapBasePathIntegrationSpec.scala  |  9 +++
 ...rBootstrapDiscoveryBackoffIntegrationSpec.scala |  9 +++
 .../ClusterBootstrapExistingSeedNodesSpec.scala    |  9 +++
 .../ClusterBootstrapIntegrationSpec.scala          |  9 +++
 ...tryUnreachableContactPointIntegrationSpec.scala |  9 +++
 .../contactpoint/HttpContactPointRoutesSpec.scala  |  9 +++
 .../internal/BootstrapCoordinatorSpec.scala        |  9 +++
 .../internal/HttpContactPointBootstrapSpec.scala   |  9 +++
 .../bootstrap/ClusterBootstrapCompileOnly.scala    |  9 +++
 .../management/cluster/ClusterReadViewAccess.java  |  9 +++
 .../ClusterDomainEventServerSentEventEncoder.scala |  9 +++
 .../cluster/ClusterHttpManagementHelper.scala      |  9 +++
 .../cluster/ClusterHttpManagementProtocol.scala    |  9 +++
 .../ClusterHttpManagementRouteProvider.scala       |  9 +++
 .../cluster/ClusterHttpManagementSettings.scala    |  9 +++
 .../javadsl/ClusterHttpManagementRoutes.scala      |  9 +++
 .../cluster/javadsl/ClusterMembershipCheck.scala   |  9 +++
 .../scaladsl/ClusterHttpManagementRoutes.scala     |  9 +++
 .../cluster/scaladsl/ClusterMembershipCheck.scala  |  9 +++
 .../http/ClusterHttpManagementJavaCompileTest.java |  9 +++
 .../http/javadsl/ClusterReadinessCheckTest.java    |  9 +++
 .../cluster/http/management/CompileOnlyTest.java   |  9 +++
 .../scaladsl/ClusterHttpManagementRoutesSpec.scala |  9 +++
 ...sterDomainEventServerSentEventEncoderSpec.scala |  9 +++
 .../cluster/ClusterHttpManagementHelperSpec.scala  |  9 +++
 .../ClusterHttpManagementRouteProviderSpec.scala   |  9 +++
 .../akka/management/cluster/MultiDcSpec.scala      |  9 +++
 .../ClusterMembershipCheckSettingsSpec.scala       |  9 +++
 .../scaladsl/ClusterMembershipCheckSpec.scala      |  9 +++
 .../cluster/http/management/CompileOnlySpec.scala  |  9 +++
 .../discovery/awsapi/ecs/AsyncEcsDiscovery.scala   |  9 +++
 .../awsapi/ecs/AsyncEcsServiceDiscovery.scala      |  9 +++
 .../awsapi/ecs/AsyncEcsTaskSetDiscovery.scala      |  9 +++
 .../awsapi/ec2/Ec2TagBasedServiceDiscovery.scala   |  9 +++
 .../discovery/awsapi/ecs/EcsServiceDiscovery.scala |  9 +++
 .../akka/discovery/awsapi/ec2/MyConfiguration.java |  9 +++
 .../scala/akka/discovery/awsapi/ec2/Docs.scala     |  9 +++
 .../Ec2TagBasedSimpleServiceDiscoveryTest.scala    |  9 +++
 .../discovery/consul/ConsulServiceDiscovery.scala  |  9 +++
 .../akka/discovery/consul/ConsulSettings.scala     |  9 +++
 .../bootstrap/discovery/ConsulDiscoverySpec.scala  |  9 +++
 .../akka/discovery/kubernetes/JsonFormat.scala     |  9 +++
 .../kubernetes/KubernetesApiServiceDiscovery.scala |  9 +++
 .../scala/akka/discovery/kubernetes/PodList.scala  |  9 +++
 .../scala/akka/discovery/kubernetes/Settings.scala |  9 +++
 .../java/docs/KubernetesApiDiscoveryDocsTest.java  |  9 +++
 .../akka/discovery/kubernetes/JsonFormatSpec.scala |  9 +++
 .../KubernetesApiServiceDiscoverySpec.scala        |  9 +++
 .../scala/akka/discovery/marathon/AppList.scala    |  9 +++
 .../scala/akka/discovery/marathon/JsonFormat.scala |  9 +++
 .../marathon/MarathonApiServiceDiscovery.scala     |  9 +++
 .../scala/akka/discovery/marathon/Settings.scala   |  9 +++
 .../marathon/MarathonApiServiceDiscoverySpec.scala |  9 +++
 .../akka/cluster/bootstrap/IntegrationTest.scala   |  9 +++
 .../scala/akka/cluster/bootstrap/Ec2DemoApp.scala  |  9 +++
 .../akka/cluster/bootstrap/EcsApiDemoApp.scala     |  9 +++
 .../scala/akka/cluster/bootstrap/DemoApp.scala     |  9 +++
 .../cluster/bootstrap/demo/ClusterWatcher.java     |  9 +++
 .../java/akka/cluster/bootstrap/demo/DemoApp.java  |  9 +++
 .../scala/akka/cluster/bootstrap/DemoApp.scala     |  9 +++
 .../scala/akka/cluster/bootstrap/ClusterApp.scala  |  9 +++
 .../akka/cluster/bootstrap/NoisySingleton.scala    |  9 +++
 .../main/scala/akka/cluster/bootstrap/Main.scala   |  9 +++
 .../scala/akka/management/LocalBootstrapTest.scala |  9 +++
 .../bootstrap/MarathonApiDockerDemoApp.scala       |  9 +++
 .../scala/akka/cluster/bootstrap/DemoApp.scala     |  9 +++
 .../coordination/lease/kubernetes/LeaseSpec.scala  |  9 +++
 .../lease/kubernetes/LeaseTestSuite.scala          |  9 +++
 .../lease/kubernetes/TestFailedReason.scala        |  9 +++
 .../akka/lease/kubernetes/LocalLeaseSpec.scala     |  9 +++
 .../lease/kubernetes/KubernetesApi.scala           |  9 +++
 .../lease/kubernetes/KubernetesLease.scala         |  9 +++
 .../lease/kubernetes/KubernetesSettings.scala      |  9 +++
 .../coordination/lease/kubernetes/LeaseActor.scala |  9 +++
 .../kubernetes/internal/KubernetesApiImpl.scala    |  9 +++
 .../internal/KubernetesJsonSupport.scala           |  9 +++
 .../lease/kubernetes/KubernetesApiSpec.scala       |  9 +++
 .../lease/kubernetes/KubernetesSettingsSpec.scala  |  9 +++
 .../lease/kubernetes/LeaseActorSpec.scala          |  9 +++
 .../loglevels/log4j2/LogLevelRoutes.scala          |  9 +++
 .../loglevels/log4j2/LogLevelRoutesSpec.scala      |  9 +++
 .../loglevels/logback/LogLevelRoutes.scala         |  9 +++
 .../loglevels/logback/LogLevelRoutesSpec.scala     |  9 +++
 .../akka/pki/kubernetes/PemManagersProvider.scala  |  9 +++
 .../akka/management/AkkaManagementSettings.scala   |  9 +++
 .../scala/akka/management/HealthCheckRoutes.scala  |  9 +++
 .../akka/management/HealthCheckSettings.scala      |  9 +++
 .../management/InvalidHealthCheckException.scala   |  9 +++
 .../akka/management/ManagementLogMarker.scala      |  9 +++
 .../management/internal/HealthChecksImpl.scala     |  9 +++
 .../akka/management/javadsl/AkkaManagement.scala   |  9 +++
 .../akka/management/javadsl/HealthChecks.scala     |  9 +++
 .../javadsl/ManagementRouteProvider.scala          |  9 +++
 .../javadsl/ManagementRouteProviderSettings.scala  |  9 +++
 .../akka/management/scaladsl/AkkaManagement.scala  |  9 +++
 .../akka/management/scaladsl/HealthChecks.scala    |  9 +++
 .../scaladsl/ManagementRouteProvider.scala         |  9 +++
 .../scaladsl/ManagementRouteProviderSettings.scala |  9 +++
 .../test/java/akka/management/CodeExamples.java    |  9 +++
 .../test/java/akka/management/HealthCheckTest.java |  9 +++
 .../jdoc/akka/management/BasicHealthCheck.java     |  9 +++
 .../java/jdoc/akka/management/ClusterCheck.java    |  9 +++
 .../AkkaManagementHttpEndpointSpec.scala           |  9 +++
 .../test/scala/akka/management/CompileOnly.scala   |  9 +++
 .../akka/management/HealthCheckRoutesSpec.scala    |  9 +++
 .../akka/management/HealthCheckSettingsSpec.scala  |  9 +++
 .../scala/akka/management/HealthChecksSpec.scala   |  9 +++
 .../doc/akka/management/ExampleHealthCheck.scala   |  9 +++
 project/Common.scala                               | 18 +++--
 project/CopyrightHeader.scala                      | 93 ++++++++++++++++++++++
 project/build.properties                           |  2 +-
 project/plugins.sbt                                |  2 +-
 131 files changed, 1243 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index d0d8fb6..19fb6c5 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -11,7 +11,7 @@ on:
 jobs:
   check-code-style:
     name: Check Code Style
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     steps:
       - name: Checkout
         uses: actions/checkout@v2
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/BootstrapLogMarker.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/BootstrapLogMarker.scala
index d55a8f5..aa8bcb7 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/BootstrapLogMarker.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/BootstrapLogMarker.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrap.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrap.scala
index fab2ff5..c0d87e5 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrap.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrap.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettings.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettings.scala
index 99df685..1b71f15 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettings.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/JoinDecider.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/JoinDecider.scala
index c1754eb..ead982a 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/JoinDecider.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/JoinDecider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/LowestAddressJoinDecider.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/LowestAddressJoinDecider.scala
index ff93c9b..150c624 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/LowestAddressJoinDecider.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/LowestAddressJoinDecider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/SelfAwareJoinDecider.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/SelfAwareJoinDecider.scala
index d85618f..0296690 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/SelfAwareJoinDecider.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/SelfAwareJoinDecider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpBootstrapJsonProtocol.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpBootstrapJsonProtocol.scala
index 4e4df50..44e1923 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpBootstrapJsonProtocol.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpBootstrapJsonProtocol.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpClusterBootstrapRoutes.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpClusterBootstrapRoutes.scala
index 3b763ec..9028d77 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpClusterBootstrapRoutes.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/contactpoint/HttpClusterBootstrapRoutes.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinator.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinator.scala
index 6e398fe..3aadfb1 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinator.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinator.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrap.scala
 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrap.scala
index 97b30f5..8b9fa5e 100644
--- 
a/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrap.scala
+++ 
b/cluster-bootstrap/src/main/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrap.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/java/akka/management/cluster/bootstrap/ClusterBootstrapJavaCompileTest.java
 
b/cluster-bootstrap/src/test/java/akka/management/cluster/bootstrap/ClusterBootstrapJavaCompileTest.java
index bd5619b..9928fec 100644
--- 
a/cluster-bootstrap/src/test/java/akka/management/cluster/bootstrap/ClusterBootstrapJavaCompileTest.java
+++ 
b/cluster-bootstrap/src/test/java/akka/management/cluster/bootstrap/ClusterBootstrapJavaCompileTest.java
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/java/jdoc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.java
 
b/cluster-bootstrap/src/test/java/jdoc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.java
index 5af63fd..4c396d3 100644
--- 
a/cluster-bootstrap/src/test/java/jdoc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.java
+++ 
b/cluster-bootstrap/src/test/java/jdoc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.java
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/discovery/MockDiscovery.scala 
b/cluster-bootstrap/src/test/scala/akka/discovery/MockDiscovery.scala
index 365f93a..947cf85 100644
--- a/cluster-bootstrap/src/test/scala/akka/discovery/MockDiscovery.scala
+++ b/cluster-bootstrap/src/test/scala/akka/discovery/MockDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/AbstractBootstrapSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/AbstractBootstrapSpec.scala
index 7f30712..919c12a 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/AbstractBootstrapSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/AbstractBootstrapSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettingsSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettingsSpec.scala
index d9dbb90..7984404 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettingsSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/ClusterBootstrapSettingsSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/InactiveBootstrapSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/InactiveBootstrapSpec.scala
index 0dfc1cb..4a69715 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/InactiveBootstrapSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/InactiveBootstrapSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/LowestAddressJoinDeciderSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/LowestAddressJoinDeciderSpec.scala
index ced7202..d4902b4 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/LowestAddressJoinDeciderSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/LowestAddressJoinDeciderSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapAutostartIntegrationSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapAutostartIntegrationSpec.scala
index 9270de4..34687c0 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapAutostartIntegrationSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapAutostartIntegrationSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapBasePathIntegrationSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapBasePathIntegrationSpec.scala
index 5381757..35a38f8 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapBasePathIntegrationSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapBasePathIntegrationSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapDiscoveryBackoffIntegrationSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapDiscoveryBackoffIntegrationSpec.scala
index 0c26c63..2e8bca5 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapDiscoveryBackoffIntegrationSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapDiscoveryBackoffIntegrationSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapExistingSeedNodesSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapExistingSeedNodesSpec.scala
index 447de6e..b31f576 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapExistingSeedNodesSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapExistingSeedNodesSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapIntegrationSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapIntegrationSpec.scala
index 5648c24..175e9d3 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapIntegrationSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapIntegrationSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapRetryUnreachableContactPointIntegrationSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapRetryUnreachableContactPointIntegrationSpec.scala
index 0330f47..21fd080 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapRetryUnreachableContactPointIntegrationSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/ClusterBootstrapRetryUnreachableContactPointIntegrationSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/HttpContactPointRoutesSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/HttpContactPointRoutesSpec.scala
index 63094c7..0ce9975 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/HttpContactPointRoutesSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/contactpoint/HttpContactPointRoutesSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinatorSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinatorSpec.scala
index 2d44cc9..cdd93b2 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinatorSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/BootstrapCoordinatorSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrapSpec.scala
 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrapSpec.scala
index d2b4a57..aa4c6b2 100644
--- 
a/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrapSpec.scala
+++ 
b/cluster-bootstrap/src/test/scala/akka/management/cluster/bootstrap/internal/HttpContactPointBootstrapSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-bootstrap/src/test/scala/doc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.scala
 
b/cluster-bootstrap/src/test/scala/doc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.scala
index 9083534..e708816 100644
--- 
a/cluster-bootstrap/src/test/scala/doc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.scala
+++ 
b/cluster-bootstrap/src/test/scala/doc/akka/management/cluster/bootstrap/ClusterBootstrapCompileOnly.scala
@@ -1,3 +1,12 @@
+/*
+ * 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, derived from Akka.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/java/akka/management/cluster/ClusterReadViewAccess.java 
b/cluster-http/src/main/java/akka/management/cluster/ClusterReadViewAccess.java
index 06fa6ae..e9fc9f4 100644
--- 
a/cluster-http/src/main/java/akka/management/cluster/ClusterReadViewAccess.java
+++ 
b/cluster-http/src/main/java/akka/management/cluster/ClusterReadViewAccess.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoder.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoder.scala
index c98917c..c995b08 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoder.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoder.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementHelper.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementHelper.scala
index 0de0c7b..ab4bb61 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementHelper.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementHelper.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementProtocol.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementProtocol.scala
index 86152c1..c96f12c 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementProtocol.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementProtocol.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementRouteProvider.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementRouteProvider.scala
index f4fad30..7ff9255 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementRouteProvider.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementRouteProvider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementSettings.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementSettings.scala
index 0103f8d..ba3448e 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementSettings.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterHttpManagementRoutes.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterHttpManagementRoutes.scala
index bfb4153..24b9761 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterHttpManagementRoutes.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterHttpManagementRoutes.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterMembershipCheck.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterMembershipCheck.scala
index 02fa71d..e5c3195 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterMembershipCheck.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/javadsl/ClusterMembershipCheck.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterHttpManagementRoutes.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterHttpManagementRoutes.scala
index d0f634e..66ac540 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterHttpManagementRoutes.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterHttpManagementRoutes.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterMembershipCheck.scala
 
b/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterMembershipCheck.scala
index 1defb57..5c5d88c 100644
--- 
a/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterMembershipCheck.scala
+++ 
b/cluster-http/src/main/scala/akka/management/cluster/scaladsl/ClusterMembershipCheck.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/java/akka/management/http/ClusterHttpManagementJavaCompileTest.java
 
b/cluster-http/src/test/java/akka/management/http/ClusterHttpManagementJavaCompileTest.java
index 7bdbba3..977f848 100644
--- 
a/cluster-http/src/test/java/akka/management/http/ClusterHttpManagementJavaCompileTest.java
+++ 
b/cluster-http/src/test/java/akka/management/http/ClusterHttpManagementJavaCompileTest.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/java/akka/management/http/javadsl/ClusterReadinessCheckTest.java
 
b/cluster-http/src/test/java/akka/management/http/javadsl/ClusterReadinessCheckTest.java
index 5dbc346..c30d261 100644
--- 
a/cluster-http/src/test/java/akka/management/http/javadsl/ClusterReadinessCheckTest.java
+++ 
b/cluster-http/src/test/java/akka/management/http/javadsl/ClusterReadinessCheckTest.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/java/jdoc/akka/cluster/http/management/CompileOnlyTest.java
 
b/cluster-http/src/test/java/jdoc/akka/cluster/http/management/CompileOnlyTest.java
index 36b2b1b..1870592 100644
--- 
a/cluster-http/src/test/java/jdoc/akka/cluster/http/management/CompileOnlyTest.java
+++ 
b/cluster-http/src/test/java/jdoc/akka/cluster/http/management/CompileOnlyTest.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/cluster/http/management/scaladsl/ClusterHttpManagementRoutesSpec.scala
 
b/cluster-http/src/test/scala/akka/cluster/http/management/scaladsl/ClusterHttpManagementRoutesSpec.scala
index 3b9f4e2..38153f0 100644
--- 
a/cluster-http/src/test/scala/akka/cluster/http/management/scaladsl/ClusterHttpManagementRoutesSpec.scala
+++ 
b/cluster-http/src/test/scala/akka/cluster/http/management/scaladsl/ClusterHttpManagementRoutesSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoderSpec.scala
 
b/cluster-http/src/test/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoderSpec.scala
index 1941fec..7053f15 100644
--- 
a/cluster-http/src/test/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoderSpec.scala
+++ 
b/cluster-http/src/test/scala/akka/management/cluster/ClusterDomainEventServerSentEventEncoderSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementHelperSpec.scala
 
b/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementHelperSpec.scala
index 0d08a87..558cf14 100644
--- 
a/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementHelperSpec.scala
+++ 
b/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementHelperSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementRouteProviderSpec.scala
 
b/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementRouteProviderSpec.scala
index bb01ed4..6ff416c 100644
--- 
a/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementRouteProviderSpec.scala
+++ 
b/cluster-http/src/test/scala/akka/management/cluster/ClusterHttpManagementRouteProviderSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/management/cluster/MultiDcSpec.scala 
b/cluster-http/src/test/scala/akka/management/cluster/MultiDcSpec.scala
index 3508bdb..318532d 100644
--- a/cluster-http/src/test/scala/akka/management/cluster/MultiDcSpec.scala
+++ b/cluster-http/src/test/scala/akka/management/cluster/MultiDcSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSettingsSpec.scala
 
b/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSettingsSpec.scala
index 0203eec..c180bc8 100644
--- 
a/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSettingsSpec.scala
+++ 
b/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSettingsSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSpec.scala
 
b/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSpec.scala
index a2e8bb1..1c494f5 100644
--- 
a/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSpec.scala
+++ 
b/cluster-http/src/test/scala/akka/management/cluster/scaladsl/ClusterMembershipCheckSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/cluster-http/src/test/scala/doc/akka/cluster/http/management/CompileOnlySpec.scala
 
b/cluster-http/src/test/scala/doc/akka/cluster/http/management/CompileOnlySpec.scala
index 3cff063..ecde45e 100644
--- 
a/cluster-http/src/test/scala/doc/akka/cluster/http/management/CompileOnlySpec.scala
+++ 
b/cluster-http/src/test/scala/doc/akka/cluster/http/management/CompileOnlySpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsDiscovery.scala
 
b/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsDiscovery.scala
index 6de1c44..acf2751 100644
--- 
a/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsDiscovery.scala
+++ 
b/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsServiceDiscovery.scala
 
b/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsServiceDiscovery.scala
index 28da656..171a8b3 100644
--- 
a/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsServiceDiscovery.scala
+++ 
b/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsServiceDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsTaskSetDiscovery.scala
 
b/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsTaskSetDiscovery.scala
index 8e4654d..1f127fe 100644
--- 
a/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsTaskSetDiscovery.scala
+++ 
b/discovery-aws-api-async/src/main/scala/akka/discovery/awsapi/ecs/AsyncEcsTaskSetDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ec2/Ec2TagBasedServiceDiscovery.scala
 
b/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ec2/Ec2TagBasedServiceDiscovery.scala
index ac52e26..10394d7 100644
--- 
a/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ec2/Ec2TagBasedServiceDiscovery.scala
+++ 
b/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ec2/Ec2TagBasedServiceDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ecs/EcsServiceDiscovery.scala
 
b/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ecs/EcsServiceDiscovery.scala
index b83d15f..922f606 100644
--- 
a/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ecs/EcsServiceDiscovery.scala
+++ 
b/discovery-aws-api/src/main/scala/akka/discovery/awsapi/ecs/EcsServiceDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api/src/test/java/akka/discovery/awsapi/ec2/MyConfiguration.java
 
b/discovery-aws-api/src/test/java/akka/discovery/awsapi/ec2/MyConfiguration.java
index cbb3183..b7125b3 100644
--- 
a/discovery-aws-api/src/test/java/akka/discovery/awsapi/ec2/MyConfiguration.java
+++ 
b/discovery-aws-api/src/test/java/akka/discovery/awsapi/ec2/MyConfiguration.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Docs.scala 
b/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Docs.scala
index 2ff4ab7..b309f22 100644
--- a/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Docs.scala
+++ b/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Docs.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Ec2TagBasedSimpleServiceDiscoveryTest.scala
 
b/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Ec2TagBasedSimpleServiceDiscoveryTest.scala
index 90b7ceb..ac24360 100644
--- 
a/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Ec2TagBasedSimpleServiceDiscoveryTest.scala
+++ 
b/discovery-aws-api/src/test/scala/akka/discovery/awsapi/ec2/Ec2TagBasedSimpleServiceDiscoveryTest.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-consul/src/main/scala/akka/discovery/consul/ConsulServiceDiscovery.scala
 
b/discovery-consul/src/main/scala/akka/discovery/consul/ConsulServiceDiscovery.scala
index 6fd0edd..0d34a04 100644
--- 
a/discovery-consul/src/main/scala/akka/discovery/consul/ConsulServiceDiscovery.scala
+++ 
b/discovery-consul/src/main/scala/akka/discovery/consul/ConsulServiceDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-consul/src/main/scala/akka/discovery/consul/ConsulSettings.scala 
b/discovery-consul/src/main/scala/akka/discovery/consul/ConsulSettings.scala
index c8c8b88..e171194 100644
--- a/discovery-consul/src/main/scala/akka/discovery/consul/ConsulSettings.scala
+++ b/discovery-consul/src/main/scala/akka/discovery/consul/ConsulSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-consul/src/test/scala/akka/cluster/bootstrap/discovery/ConsulDiscoverySpec.scala
 
b/discovery-consul/src/test/scala/akka/cluster/bootstrap/discovery/ConsulDiscoverySpec.scala
index 6ca81e8..b327583 100644
--- 
a/discovery-consul/src/test/scala/akka/cluster/bootstrap/discovery/ConsulDiscoverySpec.scala
+++ 
b/discovery-consul/src/test/scala/akka/cluster/bootstrap/discovery/ConsulDiscoverySpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/JsonFormat.scala
 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/JsonFormat.scala
index fb735b1..0d9f0a8 100644
--- 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/JsonFormat.scala
+++ 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/JsonFormat.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
index 27a6d85..b2847e7 100644
--- 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
+++ 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/PodList.scala
 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/PodList.scala
index 714613d..e0b29fe 100644
--- 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/PodList.scala
+++ 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/PodList.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/Settings.scala
 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/Settings.scala
index 66a09dc..c33484c 100644
--- 
a/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/Settings.scala
+++ 
b/discovery-kubernetes-api/src/main/scala/akka/discovery/kubernetes/Settings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/test/java/docs/KubernetesApiDiscoveryDocsTest.java
 
b/discovery-kubernetes-api/src/test/java/docs/KubernetesApiDiscoveryDocsTest.java
index cc9c1c6..02a173f 100644
--- 
a/discovery-kubernetes-api/src/test/java/docs/KubernetesApiDiscoveryDocsTest.java
+++ 
b/discovery-kubernetes-api/src/test/java/docs/KubernetesApiDiscoveryDocsTest.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/JsonFormatSpec.scala
 
b/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/JsonFormatSpec.scala
index 906cdef..f0c488b 100644
--- 
a/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/JsonFormatSpec.scala
+++ 
b/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/JsonFormatSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscoverySpec.scala
 
b/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscoverySpec.scala
index a95e409..02320c2 100644
--- 
a/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscoverySpec.scala
+++ 
b/discovery-kubernetes-api/src/test/scala/akka/discovery/kubernetes/KubernetesApiServiceDiscoverySpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/AppList.scala 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/AppList.scala
index 156508c..9b1c1b1 100644
--- 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/AppList.scala
+++ 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/AppList.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/JsonFormat.scala
 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/JsonFormat.scala
index f06868b..d966fa5 100644
--- 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/JsonFormat.scala
+++ 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/JsonFormat.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/MarathonApiServiceDiscovery.scala
 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/MarathonApiServiceDiscovery.scala
index f243905..9fc118b 100644
--- 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/MarathonApiServiceDiscovery.scala
+++ 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/MarathonApiServiceDiscovery.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/Settings.scala 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/Settings.scala
index a2c639a..2f014ef 100644
--- 
a/discovery-marathon-api/src/main/scala/akka/discovery/marathon/Settings.scala
+++ 
b/discovery-marathon-api/src/main/scala/akka/discovery/marathon/Settings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/discovery-marathon-api/src/test/scala/akka/discovery/marathon/MarathonApiServiceDiscoverySpec.scala
 
b/discovery-marathon-api/src/test/scala/akka/discovery/marathon/MarathonApiServiceDiscoverySpec.scala
index efc9848..9018923 100644
--- 
a/discovery-marathon-api/src/test/scala/akka/discovery/marathon/MarathonApiServiceDiscoverySpec.scala
+++ 
b/discovery-marathon-api/src/test/scala/akka/discovery/marathon/MarathonApiServiceDiscoverySpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/aws-api-ec2/src/it/scala/akka/cluster/bootstrap/IntegrationTest.scala
 
b/integration-test/aws-api-ec2/src/it/scala/akka/cluster/bootstrap/IntegrationTest.scala
index 4e2dd2e..4a085fb 100644
--- 
a/integration-test/aws-api-ec2/src/it/scala/akka/cluster/bootstrap/IntegrationTest.scala
+++ 
b/integration-test/aws-api-ec2/src/it/scala/akka/cluster/bootstrap/IntegrationTest.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/aws-api-ec2/src/main/scala/akka/cluster/bootstrap/Ec2DemoApp.scala
 
b/integration-test/aws-api-ec2/src/main/scala/akka/cluster/bootstrap/Ec2DemoApp.scala
index 85c9171..da62d87 100644
--- 
a/integration-test/aws-api-ec2/src/main/scala/akka/cluster/bootstrap/Ec2DemoApp.scala
+++ 
b/integration-test/aws-api-ec2/src/main/scala/akka/cluster/bootstrap/Ec2DemoApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/aws-api-ecs/src/main/scala/akka/cluster/bootstrap/EcsApiDemoApp.scala
 
b/integration-test/aws-api-ecs/src/main/scala/akka/cluster/bootstrap/EcsApiDemoApp.scala
index b9d22a0..344b474 100644
--- 
a/integration-test/aws-api-ecs/src/main/scala/akka/cluster/bootstrap/EcsApiDemoApp.scala
+++ 
b/integration-test/aws-api-ecs/src/main/scala/akka/cluster/bootstrap/EcsApiDemoApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/dns-api-mesos/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
 
b/integration-test/dns-api-mesos/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
index a6bacfb..d8b265c 100644
--- 
a/integration-test/dns-api-mesos/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
+++ 
b/integration-test/dns-api-mesos/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/ClusterWatcher.java
 
b/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/ClusterWatcher.java
index 88c48d7..6890592 100644
--- 
a/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/ClusterWatcher.java
+++ 
b/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/ClusterWatcher.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/DemoApp.java
 
b/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/DemoApp.java
index dfcdd5d..dbc8ff4 100644
--- 
a/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/DemoApp.java
+++ 
b/integration-test/kubernetes-api-java/src/main/java/akka/cluster/bootstrap/demo/DemoApp.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/kubernetes-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
 
b/integration-test/kubernetes-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
index 7c098c6..7a65d4a 100644
--- 
a/integration-test/kubernetes-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
+++ 
b/integration-test/kubernetes-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/ClusterApp.scala
 
b/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/ClusterApp.scala
index 42c565b..78b7969 100644
--- 
a/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/ClusterApp.scala
+++ 
b/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/ClusterApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/NoisySingleton.scala
 
b/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/NoisySingleton.scala
index 82f4a82..7bb49cd 100644
--- 
a/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/NoisySingleton.scala
+++ 
b/integration-test/kubernetes-dns/src/main/scala/akka/cluster/bootstrap/NoisySingleton.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/local/src/main/scala/akka/cluster/bootstrap/Main.scala 
b/integration-test/local/src/main/scala/akka/cluster/bootstrap/Main.scala
index 0829eae..f256d52 100644
--- a/integration-test/local/src/main/scala/akka/cluster/bootstrap/Main.scala
+++ b/integration-test/local/src/main/scala/akka/cluster/bootstrap/Main.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/local/src/test/scala/akka/management/LocalBootstrapTest.scala
 
b/integration-test/local/src/test/scala/akka/management/LocalBootstrapTest.scala
index 776b6b8..3b51c0f 100644
--- 
a/integration-test/local/src/test/scala/akka/management/LocalBootstrapTest.scala
+++ 
b/integration-test/local/src/test/scala/akka/management/LocalBootstrapTest.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/marathon-api-docker/src/main/scala/akka/cluster/bootstrap/MarathonApiDockerDemoApp.scala
 
b/integration-test/marathon-api-docker/src/main/scala/akka/cluster/bootstrap/MarathonApiDockerDemoApp.scala
index d65f9b0..7fb8f26 100644
--- 
a/integration-test/marathon-api-docker/src/main/scala/akka/cluster/bootstrap/MarathonApiDockerDemoApp.scala
+++ 
b/integration-test/marathon-api-docker/src/main/scala/akka/cluster/bootstrap/MarathonApiDockerDemoApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/integration-test/marathon-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
 
b/integration-test/marathon-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
index 5df32c2..ceeeb0f 100644
--- 
a/integration-test/marathon-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
+++ 
b/integration-test/marathon-api/src/main/scala/akka/cluster/bootstrap/DemoApp.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseSpec.scala
 
b/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseSpec.scala
index 91e78d9..c6a3878 100644
--- 
a/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseSpec.scala
+++ 
b/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseTestSuite.scala
 
b/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseTestSuite.scala
index b6cfc2c..6f1c418 100644
--- 
a/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseTestSuite.scala
+++ 
b/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/LeaseTestSuite.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/TestFailedReason.scala
 
b/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/TestFailedReason.scala
index 7986a65..890b48c 100644
--- 
a/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/TestFailedReason.scala
+++ 
b/lease-kubernetes-int-test/src/main/scala/akka/coordination/lease/kubernetes/TestFailedReason.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes-int-test/src/test/scala/akka/lease/kubernetes/LocalLeaseSpec.scala
 
b/lease-kubernetes-int-test/src/test/scala/akka/lease/kubernetes/LocalLeaseSpec.scala
index 4d1e26c..d7d0a85 100644
--- 
a/lease-kubernetes-int-test/src/test/scala/akka/lease/kubernetes/LocalLeaseSpec.scala
+++ 
b/lease-kubernetes-int-test/src/test/scala/akka/lease/kubernetes/LocalLeaseSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesApi.scala
 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesApi.scala
index 209382c..1f704fa 100644
--- 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesApi.scala
+++ 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesApi.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesLease.scala
 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesLease.scala
index 3167082..9e35bd8 100644
--- 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesLease.scala
+++ 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesLease.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesSettings.scala
 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesSettings.scala
index 980be72..b55efdb 100644
--- 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesSettings.scala
+++ 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/KubernetesSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/LeaseActor.scala
 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/LeaseActor.scala
index 00965c5..1979cf0 100644
--- 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/LeaseActor.scala
+++ 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/LeaseActor.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesApiImpl.scala
 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesApiImpl.scala
index 033b143..ef6bd5f 100644
--- 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesApiImpl.scala
+++ 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesApiImpl.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesJsonSupport.scala
 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesJsonSupport.scala
index f6763a9..6c9111f 100644
--- 
a/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesJsonSupport.scala
+++ 
b/lease-kubernetes/src/main/scala/akka/coordination/lease/kubernetes/internal/KubernetesJsonSupport.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesApiSpec.scala
 
b/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesApiSpec.scala
index 91a5fb7..ea24ed0 100644
--- 
a/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesApiSpec.scala
+++ 
b/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesApiSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesSettingsSpec.scala
 
b/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesSettingsSpec.scala
index cfd34a8..e62af62 100644
--- 
a/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesSettingsSpec.scala
+++ 
b/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/KubernetesSettingsSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/LeaseActorSpec.scala
 
b/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/LeaseActorSpec.scala
index 59fce8b..4140f17 100644
--- 
a/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/LeaseActorSpec.scala
+++ 
b/lease-kubernetes/src/test/scala/akka/coordination/lease/kubernetes/LeaseActorSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/loglevels-log4j2/src/main/scala/akka/management/loglevels/log4j2/LogLevelRoutes.scala
 
b/loglevels-log4j2/src/main/scala/akka/management/loglevels/log4j2/LogLevelRoutes.scala
index c9ac723..2c37c05 100644
--- 
a/loglevels-log4j2/src/main/scala/akka/management/loglevels/log4j2/LogLevelRoutes.scala
+++ 
b/loglevels-log4j2/src/main/scala/akka/management/loglevels/log4j2/LogLevelRoutes.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/loglevels-log4j2/src/test/scala/akka/management/loglevels/log4j2/LogLevelRoutesSpec.scala
 
b/loglevels-log4j2/src/test/scala/akka/management/loglevels/log4j2/LogLevelRoutesSpec.scala
index 17a6f60..7fe8d32 100644
--- 
a/loglevels-log4j2/src/test/scala/akka/management/loglevels/log4j2/LogLevelRoutesSpec.scala
+++ 
b/loglevels-log4j2/src/test/scala/akka/management/loglevels/log4j2/LogLevelRoutesSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/loglevels-logback/src/main/scala/akka/management/loglevels/logback/LogLevelRoutes.scala
 
b/loglevels-logback/src/main/scala/akka/management/loglevels/logback/LogLevelRoutes.scala
index 5db9e18..59c25e6 100644
--- 
a/loglevels-logback/src/main/scala/akka/management/loglevels/logback/LogLevelRoutes.scala
+++ 
b/loglevels-logback/src/main/scala/akka/management/loglevels/logback/LogLevelRoutes.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/loglevels-logback/src/test/scala/akka/management/loglevels/logback/LogLevelRoutesSpec.scala
 
b/loglevels-logback/src/test/scala/akka/management/loglevels/logback/LogLevelRoutesSpec.scala
index 70c9b27..371830c 100644
--- 
a/loglevels-logback/src/test/scala/akka/management/loglevels/logback/LogLevelRoutesSpec.scala
+++ 
b/loglevels-logback/src/test/scala/akka/management/loglevels/logback/LogLevelRoutesSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management-pki/src/main/scala/akka/pki/kubernetes/PemManagersProvider.scala 
b/management-pki/src/main/scala/akka/pki/kubernetes/PemManagersProvider.scala
index 4647280..98e6d66 100644
--- 
a/management-pki/src/main/scala/akka/pki/kubernetes/PemManagersProvider.scala
+++ 
b/management-pki/src/main/scala/akka/pki/kubernetes/PemManagersProvider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/AkkaManagementSettings.scala 
b/management/src/main/scala/akka/management/AkkaManagementSettings.scala
index 18d6240..9c5ae61 100644
--- a/management/src/main/scala/akka/management/AkkaManagementSettings.scala
+++ b/management/src/main/scala/akka/management/AkkaManagementSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/management/src/main/scala/akka/management/HealthCheckRoutes.scala 
b/management/src/main/scala/akka/management/HealthCheckRoutes.scala
index e079e5f..2ebad64 100644
--- a/management/src/main/scala/akka/management/HealthCheckRoutes.scala
+++ b/management/src/main/scala/akka/management/HealthCheckRoutes.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/HealthCheckSettings.scala 
b/management/src/main/scala/akka/management/HealthCheckSettings.scala
index ca5e2a8..f409df3 100644
--- a/management/src/main/scala/akka/management/HealthCheckSettings.scala
+++ b/management/src/main/scala/akka/management/HealthCheckSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/InvalidHealthCheckException.scala 
b/management/src/main/scala/akka/management/InvalidHealthCheckException.scala
index 92af418..98b6fb9 100644
--- 
a/management/src/main/scala/akka/management/InvalidHealthCheckException.scala
+++ 
b/management/src/main/scala/akka/management/InvalidHealthCheckException.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/ManagementLogMarker.scala 
b/management/src/main/scala/akka/management/ManagementLogMarker.scala
index 20ff246..ff3ff73 100644
--- a/management/src/main/scala/akka/management/ManagementLogMarker.scala
+++ b/management/src/main/scala/akka/management/ManagementLogMarker.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/internal/HealthChecksImpl.scala 
b/management/src/main/scala/akka/management/internal/HealthChecksImpl.scala
index 27a2690..6cc8d0d 100644
--- a/management/src/main/scala/akka/management/internal/HealthChecksImpl.scala
+++ b/management/src/main/scala/akka/management/internal/HealthChecksImpl.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/javadsl/AkkaManagement.scala 
b/management/src/main/scala/akka/management/javadsl/AkkaManagement.scala
index 04242ed..cad4334 100644
--- a/management/src/main/scala/akka/management/javadsl/AkkaManagement.scala
+++ b/management/src/main/scala/akka/management/javadsl/AkkaManagement.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/javadsl/HealthChecks.scala 
b/management/src/main/scala/akka/management/javadsl/HealthChecks.scala
index c1fa63f..e110adb 100644
--- a/management/src/main/scala/akka/management/javadsl/HealthChecks.scala
+++ b/management/src/main/scala/akka/management/javadsl/HealthChecks.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/javadsl/ManagementRouteProvider.scala
 
b/management/src/main/scala/akka/management/javadsl/ManagementRouteProvider.scala
index 5e20022..12ccf31 100644
--- 
a/management/src/main/scala/akka/management/javadsl/ManagementRouteProvider.scala
+++ 
b/management/src/main/scala/akka/management/javadsl/ManagementRouteProvider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/javadsl/ManagementRouteProviderSettings.scala
 
b/management/src/main/scala/akka/management/javadsl/ManagementRouteProviderSettings.scala
index 3967809..0e71362 100644
--- 
a/management/src/main/scala/akka/management/javadsl/ManagementRouteProviderSettings.scala
+++ 
b/management/src/main/scala/akka/management/javadsl/ManagementRouteProviderSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/scaladsl/AkkaManagement.scala 
b/management/src/main/scala/akka/management/scaladsl/AkkaManagement.scala
index d08874a..0b49a64 100644
--- a/management/src/main/scala/akka/management/scaladsl/AkkaManagement.scala
+++ b/management/src/main/scala/akka/management/scaladsl/AkkaManagement.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/scaladsl/HealthChecks.scala 
b/management/src/main/scala/akka/management/scaladsl/HealthChecks.scala
index dbe3dca..8149d8f 100644
--- a/management/src/main/scala/akka/management/scaladsl/HealthChecks.scala
+++ b/management/src/main/scala/akka/management/scaladsl/HealthChecks.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/scaladsl/ManagementRouteProvider.scala
 
b/management/src/main/scala/akka/management/scaladsl/ManagementRouteProvider.scala
index 48b371c..3614b5f 100644
--- 
a/management/src/main/scala/akka/management/scaladsl/ManagementRouteProvider.scala
+++ 
b/management/src/main/scala/akka/management/scaladsl/ManagementRouteProvider.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/main/scala/akka/management/scaladsl/ManagementRouteProviderSettings.scala
 
b/management/src/main/scala/akka/management/scaladsl/ManagementRouteProviderSettings.scala
index defa815..4d39c8e 100644
--- 
a/management/src/main/scala/akka/management/scaladsl/ManagementRouteProviderSettings.scala
+++ 
b/management/src/main/scala/akka/management/scaladsl/ManagementRouteProviderSettings.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/management/src/test/java/akka/management/CodeExamples.java 
b/management/src/test/java/akka/management/CodeExamples.java
index 7a35657..4aca536 100644
--- a/management/src/test/java/akka/management/CodeExamples.java
+++ b/management/src/test/java/akka/management/CodeExamples.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/management/src/test/java/akka/management/HealthCheckTest.java 
b/management/src/test/java/akka/management/HealthCheckTest.java
index 5faf2ca..8e333f2 100644
--- a/management/src/test/java/akka/management/HealthCheckTest.java
+++ b/management/src/test/java/akka/management/HealthCheckTest.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/test/java/jdoc/akka/management/BasicHealthCheck.java 
b/management/src/test/java/jdoc/akka/management/BasicHealthCheck.java
index 95094db..e7dada8 100644
--- a/management/src/test/java/jdoc/akka/management/BasicHealthCheck.java
+++ b/management/src/test/java/jdoc/akka/management/BasicHealthCheck.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/management/src/test/java/jdoc/akka/management/ClusterCheck.java 
b/management/src/test/java/jdoc/akka/management/ClusterCheck.java
index 38e153a..49a50fb 100644
--- a/management/src/test/java/jdoc/akka/management/ClusterCheck.java
+++ b/management/src/test/java/jdoc/akka/management/ClusterCheck.java
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/test/scala/akka/management/AkkaManagementHttpEndpointSpec.scala
 
b/management/src/test/scala/akka/management/AkkaManagementHttpEndpointSpec.scala
index ef13a9a..c01b786 100644
--- 
a/management/src/test/scala/akka/management/AkkaManagementHttpEndpointSpec.scala
+++ 
b/management/src/test/scala/akka/management/AkkaManagementHttpEndpointSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/management/src/test/scala/akka/management/CompileOnly.scala 
b/management/src/test/scala/akka/management/CompileOnly.scala
index 892ba55..39d4831 100644
--- a/management/src/test/scala/akka/management/CompileOnly.scala
+++ b/management/src/test/scala/akka/management/CompileOnly.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/test/scala/akka/management/HealthCheckRoutesSpec.scala 
b/management/src/test/scala/akka/management/HealthCheckRoutesSpec.scala
index 1cc82cc..88497ad 100644
--- a/management/src/test/scala/akka/management/HealthCheckRoutesSpec.scala
+++ b/management/src/test/scala/akka/management/HealthCheckRoutesSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/test/scala/akka/management/HealthCheckSettingsSpec.scala 
b/management/src/test/scala/akka/management/HealthCheckSettingsSpec.scala
index cde94b0..d5d39de 100644
--- a/management/src/test/scala/akka/management/HealthCheckSettingsSpec.scala
+++ b/management/src/test/scala/akka/management/HealthCheckSettingsSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/management/src/test/scala/akka/management/HealthChecksSpec.scala 
b/management/src/test/scala/akka/management/HealthChecksSpec.scala
index c5dd0eb..b0b28f2 100644
--- a/management/src/test/scala/akka/management/HealthChecksSpec.scala
+++ b/management/src/test/scala/akka/management/HealthChecksSpec.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git 
a/management/src/test/scala/doc/akka/management/ExampleHealthCheck.scala 
b/management/src/test/scala/doc/akka/management/ExampleHealthCheck.scala
index bc92103..718f3bd 100644
--- a/management/src/test/scala/doc/akka/management/ExampleHealthCheck.scala
+++ b/management/src/test/scala/doc/akka/management/ExampleHealthCheck.scala
@@ -1,3 +1,12 @@
+/*
+ * 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.
+ */
+
 /*
  * Copyright (C) 2017-2021 Lightbend Inc. <https://www.lightbend.com>
  */
diff --git a/project/Common.scala b/project/Common.scala
index 3c7a909..54da76d 100644
--- a/project/Common.scala
+++ b/project/Common.scala
@@ -1,7 +1,7 @@
 import com.geirsson.CiReleasePlugin
 import com.lightbend.paradox.projectinfo.ParadoxProjectInfoPluginKeys._
+import de.heikoseeberger.sbtheader.HeaderPlugin
 import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport._
-import de.heikoseeberger.sbtheader._
 import sbt.Keys._
 import sbt._
 import xerial.sbt.Sonatype.autoImport.sonatypeProfileName
@@ -13,7 +13,7 @@ object Common extends AutoPlugin {
 
   val currentYear = "2021"
 
-  override lazy val projectSettings =
+  override lazy val projectSettings: Seq[sbt.Def.Setting[_]] =
     Seq(
       organization := "com.lightbend.akka.management",
       organizationName := "Lightbend Inc.",
@@ -29,13 +29,12 @@ object Common extends AutoPlugin {
         url("https://github.com/akka/akka-management/graphs/contributors";)),
       licenses := Seq(("Apache-2.0", 
url("https://www.apache.org/licenses/LICENSE-2.0";))),
       description := "Akka Management is a suite of tools for operating Akka 
Clusters.",
-      headerLicense := Some(
-        HeaderLicense.Custom(s"Copyright (C) 2017-$currentYear Lightbend Inc. 
<https://www.lightbend.com>")),
+      headerLicense := Some(HeaderLicense.Custom(apacheHeader)),
       crossScalaVersions := Dependencies.CrossScalaVersions,
       projectInfoVersion := (if (isSnapshot.value) "snapshot" else 
version.value),
       crossVersion := CrossVersion.binary,
       scalacOptions ++= {
-        var scalacOptionsBase = Seq(
+        val scalacOptionsBase = Seq(
           "-encoding",
           "UTF-8",
           "-feature",
@@ -81,4 +80,13 @@ object Common extends AutoPlugin {
 
   private def isJdk8 =
     
VersionNumber(sys.props("java.specification.version")).matchesSemVer(SemanticSelector(s"=1.8"))
+
+  def apacheHeader: String =
+    """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, derived from Akka.
+      |""".stripMargin
 }
diff --git a/project/CopyrightHeader.scala b/project/CopyrightHeader.scala
new file mode 100644
index 0000000..3fddd4d
--- /dev/null
+++ b/project/CopyrightHeader.scala
@@ -0,0 +1,93 @@
+/*
+ * 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, derived from Akka.
+ */
+
+/*
+ * Copyright (C) 2018-2022 Lightbend Inc. <https://www.lightbend.com>
+ */
+
+import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport._
+import de.heikoseeberger.sbtheader.{ CommentCreator, CommentStyle, 
HeaderPlugin, NewLine }
+import sbt.Keys._
+import sbt._
+
+trait CopyrightHeader extends AutoPlugin {
+
+  override def requires: Plugins = HeaderPlugin
+
+  override def trigger: PluginTrigger = allRequirements
+
+  protected def headerMappingSettings: Seq[Def.Setting[_]] =
+    Seq(Compile, Test).flatMap { config =>
+      inConfig(config)(
+        Seq(
+          headerLicense := Some(HeaderLicense.Custom(apacheHeader)),
+          headerMappings := headerMappings.value ++ Map(
+            HeaderFileType.scala -> cStyleComment,
+            HeaderFileType.java -> cStyleComment,
+            HeaderFileType("template") -> cStyleComment)))
+    }
+
+  override def projectSettings: Seq[Def.Setting[_]] = 
Def.settings(headerMappingSettings, additional)
+
+  def additional: Seq[Def.Setting[_]] =
+    Def.settings(Compile / compile := {
+        (Compile / headerCreate).value
+        (Compile / compile).value
+      },
+      Test / compile := {
+        (Test / headerCreate).value
+        (Test / compile).value
+      })
+
+  def headerFor(year: String): String =
+    s"Copyright (C) $year Lightbend Inc. <https://www.lightbend.com>"
+
+  def apacheHeader: String =
+    """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, derived from Akka.
+      |""".stripMargin
+
+  val cStyleComment: CommentStyle = 
HeaderCommentStyle.cStyleBlockComment.copy(commentCreator = new 
CommentCreator() {
+
+    override def apply(text: String, existingText: Option[String]): String = {
+      val formatted = existingText match {
+        case Some(existedText) if isValidCopyRightAnnotated(existedText) =>
+          existedText
+        case Some(existedText) if 
isOnlyLightbendCopyRightAnnotated(existedText) =>
+          HeaderCommentStyle.cStyleBlockComment.commentCreator(text, 
existingText) + NewLine * 2 + existedText
+        case Some(existedText) =>
+          throw new IllegalStateException(s"Unable to detect copyright for 
header:[${existedText}]")
+        case None =>
+          HeaderCommentStyle.cStyleBlockComment.commentCreator(text, 
existingText)
+      }
+      formatted.trim
+    }
+
+    private def isApacheCopyRighted(text: String): Boolean =
+      text.contains("Licensed to the Apache Software Foundation (ASF)") ||
+      text.contains("www.apache.org/licenses/license-2.0")
+
+    private def isLightbendCopyRighted(text: String): Boolean =
+      text.contains("Lightbend Inc.")
+
+    private def isValidCopyRightAnnotated(text: String): Boolean = {
+      isApacheCopyRighted(text)
+    }
+
+    private def isOnlyLightbendCopyRightAnnotated(text: String): Boolean = {
+      isLightbendCopyRighted(text) && !isApacheCopyRighted(text)
+    }
+  })
+}
+
+object CopyrightHeader extends CopyrightHeader
diff --git a/project/build.properties b/project/build.properties
index 8b9a0b0..46e43a9 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=1.8.0
+sbt.version=1.8.2
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 02359e5..5c7e424 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,6 +1,6 @@
 addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9")
 
-addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0")
+addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.9.0")
 addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
 addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
 addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.44")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to