This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new d3c16b6 Apache headers (#19)
d3c16b6 is described below
commit d3c16b6c7b03ae6d750fcffc08e08eb2ce7a4ef2
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Mar 6 10:40:58 2023 +0100
Apache headers (#19)
---
.github/workflows/checks.yml | 23 +++--
.github/workflows/h2-test.yml | 2 +-
.github/workflows/link-validator.yml | 7 +-
.github/workflows/mysql-tests.yml | 7 +-
.github/workflows/oracle-tests.yml | 7 +-
.github/workflows/postgres-tests.yml | 7 +-
.github/workflows/sqlserver-tests.yml | 7 +-
build.sbt | 2 +-
.../jdbc/integration/AllPersistenceIdsTest.scala | 9 ++
.../CurrentEventsByPersistenceIdTest.scala | 9 ++
.../jdbc/integration/CurrentEventsByTagTest.scala | 9 ++
.../integration/CurrentPersistenceIdsTest.scala | 9 ++
.../jdbc/integration/EventAdapterTest.scala | 9 ++
.../integration/EventsByPersistenceIdTest.scala | 9 ++
.../jdbc/integration/EventsByTagTest.scala | 9 ++
.../jdbc/integration/HardDeleteQueryTest.scala | 9 ++
.../jdbc/integration/JdbcJournalPerfSpec.scala | 9 ++
.../jdbc/integration/JdbcJournalSpec.scala | 9 ++
.../jdbc/integration/JdbcSnapshotStoreSpec.scala | 9 ++
.../JournalDaoStreamMessagesMemoryTest.scala | 9 ++
.../integration/JournalSequenceActorTest.scala | 9 ++
.../PostgresDurableStateStorePluginSpec.scala | 9 ++
...gresScalaJdbcDurableStateChangesByTagTest.scala | 9 ++
.../StoreOnlySerializableMessagesTest.scala | 9 ++
.../apache/pekko/persistence/jdbc/JournalRow.scala | 9 ++
.../persistence/jdbc/PekkoSerialization.scala | 9 ++
.../jdbc/config/AkkaPersistenceConfig.scala | 9 ++
.../pekko/persistence/jdbc/db/SlickDatabase.scala | 9 ++
.../pekko/persistence/jdbc/db/SlickExtension.scala | 9 ++
.../jdbc/journal/JdbcAsyncWriteJournal.scala | 9 ++
.../persistence/jdbc/journal/dao/BaseDao.scala | 9 ++
.../dao/BaseJournalDaoWithReadMessages.scala | 9 ++
.../jdbc/journal/dao/DefaultJournalDao.scala | 9 ++
.../persistence/jdbc/journal/dao/FlowControl.scala | 9 ++
.../persistence/jdbc/journal/dao/H2Compat.scala | 9 ++
.../persistence/jdbc/journal/dao/JournalDao.scala | 9 ++
.../journal/dao/JournalDaoWithReadMessages.scala | 9 ++
.../jdbc/journal/dao/JournalDaoWithUpdates.scala | 9 ++
.../jdbc/journal/dao/JournalQueries.scala | 9 ++
.../jdbc/journal/dao/JournalTables.scala | 9 ++
.../journal/dao/legacy/ByteArrayJournalDao.scala | 9 ++
.../dao/legacy/ByteArrayJournalSerializer.scala | 9 ++
.../jdbc/journal/dao/legacy/JournalQueries.scala | 9 ++
.../jdbc/journal/dao/legacy/JournalTables.scala | 9 ++
.../jdbc/journal/dao/legacy/package.scala | 9 ++
.../jdbc/query/JdbcReadJournalProvider.scala | 9 ++
.../jdbc/query/JournalSequenceActor.scala | 9 ++
.../jdbc/query/dao/DefaultReadJournalDao.scala | 9 ++
.../jdbc/query/dao/ReadJournalDao.scala | 9 ++
.../jdbc/query/dao/ReadJournalQueries.scala | 9 ++
.../query/dao/legacy/ByteArrayReadJournalDao.scala | 9 ++
.../jdbc/query/dao/legacy/ReadJournalQueries.scala | 9 ++
.../jdbc/query/javadsl/JdbcReadJournal.scala | 9 ++
.../pekko/persistence/jdbc/query/package.scala | 9 ++
.../jdbc/query/scaladsl/JdbcReadJournal.scala | 9 ++
.../serialization/PersistentReprSerializer.scala | 9 ++
.../jdbc/serialization/SnapshotSerializer.scala | 9 ++
.../jdbc/snapshot/JdbcSnapshotStore.scala | 9 ++
.../jdbc/snapshot/dao/DefaultSnapshotDao.scala | 9 ++
.../jdbc/snapshot/dao/SnapshotDao.scala | 9 ++
.../jdbc/snapshot/dao/SnapshotQueries.scala | 9 ++
.../jdbc/snapshot/dao/SnapshotTables.scala | 9 ++
.../snapshot/dao/legacy/ByteArraySnapshotDao.scala | 9 ++
.../dao/legacy/ByteArraySnapshotSerializer.scala | 9 ++
.../jdbc/snapshot/dao/legacy/SnapshotQueries.scala | 9 ++
.../jdbc/snapshot/dao/legacy/SnapshotTables.scala | 9 ++
.../jdbc/state/DurableStateQueries.scala | 9 ++
.../jdbc/state/DurableStateTables.scala | 9 ++
.../jdbc/state/JdbcDurableStateStoreProvider.scala | 9 ++
.../pekko/persistence/jdbc/state/OffsetOps.scala | 9 ++
.../jdbc/state/SequenceNextValUpdater.scala | 9 ++
.../jdbc/state/javadsl/JdbcDurableStateStore.scala | 9 ++
.../state/scaladsl/DurableStateSequenceActor.scala | 9 ++
.../state/scaladsl/JdbcDurableStateStore.scala | 9 ++
.../jdbc/testkit/internal/SchemaType.scala | 9 ++
.../jdbc/testkit/internal/SchemaUtilsImpl.scala | 9 ++
.../jdbc/testkit/javadsl/SchemaUtils.scala | 9 ++
.../jdbc/testkit/scaladsl/SchemaUtils.scala | 9 ++
.../pekko/persistence/jdbc/util/BlockingOps.scala | 9 ++
.../pekko/persistence/jdbc/util/ByteArrayOps.scala | 9 ++
.../pekko/persistence/jdbc/util/ConfigOps.scala | 9 ++
.../persistence/jdbc/util/InputStreamOps.scala | 9 ++
.../jdbc/util/PluginVersionChecker.scala | 9 ++
.../pekko/persistence/jdbc/util/StringOps.scala | 9 ++
.../pekko/persistence/jdbc/util/TrySeq.scala | 9 ++
.../pekko/persistence/jdbc/JavadslSnippets.java | 9 ++
.../persistence/jdbc/state/JavadslSnippets.java | 9 ++
.../test/resources/oracle-schema-overrides.conf | 2 +
.../pekko/persistence/jdbc/ScaladslSnippets.scala | 9 ++
.../jdbc/SharedActorSystemTestSpec.scala | 9 ++
.../apache/pekko/persistence/jdbc/SimpleSpec.scala | 9 ++
.../jdbc/SingleActorSystemPerTestSpec.scala | 9 ++
.../pekko/persistence/jdbc/TablesTestSpec.scala | 9 ++
.../jdbc/configuration/ConfigOpsTest.scala | 9 ++
.../jdbc/configuration/JNDIConfigTest.scala | 9 ++
.../configuration/PekkoPersistenceConfigTest.scala | 9 ++
.../jdbc/journal/JdbcJournalPerfSpec.scala | 9 ++
.../persistence/jdbc/journal/JdbcJournalSpec.scala | 9 ++
.../persistence/jdbc/journal/dao/TrySeqTest.scala | 9 ++
.../legacy/ByteArrayJournalSerializerTest.scala | 9 ++
.../journal/dao/legacy/JournalTablesTest.scala | 9 ++
.../journal/dao/legacy/TagsSerializationTest.scala | 9 ++
.../jdbc/query/AllPersistenceIdsTest.scala | 9 ++
.../query/CurrentEventsByPersistenceIdTest.scala | 9 ++
.../jdbc/query/CurrentEventsByTagTest.scala | 9 ++
.../jdbc/query/CurrentPersistenceIdsTest.scala | 9 ++
.../persistence/jdbc/query/EventAdapterTest.scala | 9 ++
.../jdbc/query/EventsByPersistenceIdTest.scala | 9 ++
.../persistence/jdbc/query/EventsByTagTest.scala | 9 ++
.../jdbc/query/HardDeleteQueryTest.scala | 9 ++
.../query/JournalDaoStreamMessagesMemoryTest.scala | 9 ++
.../jdbc/query/JournalSequenceActorTest.scala | 9 ++
.../jdbc/query/MultipleReadJournalTest.scala | 9 ++
.../persistence/jdbc/query/QueryTestSpec.scala | 9 ++
.../jdbc/query/TaggingEventAdapter.scala | 9 ++
.../jdbc/query/dao/ReadJournalTablesTest.scala | 9 ++
.../jdbc/query/dao/TestProbeReadJournalDao.scala | 9 ++
.../StoreOnlySerializableMessagesTest.scala | 9 ++
.../jdbc/snapshot/JdbcSnapshotStoreSpec.scala | 9 ++
.../snapshot/dao/legacy/SnapshotTablesTest.scala | 9 ++
.../pekko/persistence/jdbc/state/Payloads.scala | 9 ++
.../persistence/jdbc/state/ScaladslSnippets.scala | 9 ++
.../jdbc/state/scaladsl/DataGenerationHelper.scala | 9 ++
.../scaladsl/DurableStateSequenceActorTest.scala | 9 ++
.../scaladsl/DurableStateStorePluginSpec.scala | 9 ++
.../jdbc/state/scaladsl/JdbcDurableStateSpec.scala | 9 ++
.../jdbc/state/scaladsl/StateSpecBase.scala | 9 ++
.../scaladsl/TestProbeDurableStateStoreQuery.scala | 9 ++
.../persistence/jdbc/util/ClasspathResources.scala | 9 ++
.../pekko/persistence/jdbc/util/DropCreate.scala | 9 ++
.../migrator/integration/JournalMigratorTest.scala | 9 ++
.../integration/SnapshotMigratorTest.scala | 9 ++
.../jdbc/migrator/JournalMigrator.scala | 9 ++
.../jdbc/migrator/SnapshotMigrator.scala | 9 ++
migrator/src/test/resources/general.conf | 2 +
migrator/src/test/resources/h2-application.conf | 2 +
migrator/src/test/resources/mysql-application.conf | 2 +
.../src/test/resources/oracle-application.conf | 2 +
.../src/test/resources/postgres-application.conf | 2 +
.../src/test/resources/sqlserver-application.conf | 2 +
.../jdbc/migrator/JournalMigratorTest.scala | 9 ++
.../persistence/jdbc/migrator/MigratorSpec.scala | 9 ++
.../jdbc/migrator/SnapshotMigratorTest.scala | 9 ++
project/AutomaticModuleName.scala | 9 ++
project/CopyrightHeader.scala | 111 +++++++++++++++++++++
project/Dependencies.scala | 9 ++
project/ProjectAutoPlugin.scala | 14 ++-
project/plugins.sbt | 4 +-
148 files changed, 1342 insertions(+), 33 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 78ac675..1b61761 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -25,10 +25,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK 11
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
@@ -52,17 +53,18 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK 11
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
- name: Compile all code with fatal warnings for Java 11, Scala 2.12 and
Scala 2.13
# Run locally with: sbt 'clean ; +Test/compile ; +It/compile'
- run: sbt "; Test/compile; It/compile"
+ run: sbt "; Test/compile; It/compile; headerCheckAll"
check-docs:
name: Check Docs
@@ -79,10 +81,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK 11
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/.github/workflows/h2-test.yml b/.github/workflows/h2-test.yml
index df8c638..dbda4e0 100644
--- a/.github/workflows/h2-test.yml
+++ b/.github/workflows/h2-test.yml
@@ -45,4 +45,4 @@ jobs:
- name: Print logs on failure
if: ${{ failure() }}
- run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \;
\ No newline at end of file
+ run: find . -name "*.log" -exec ./scripts/cat-log.sh {} \;
diff --git a/.github/workflows/link-validator.yml
b/.github/workflows/link-validator.yml
index 7ae7d44..8aa9552 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -20,10 +20,11 @@ jobs:
# - name: Fetch tags
# run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- - name: Set up JDK 11
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/.github/workflows/mysql-tests.yml
b/.github/workflows/mysql-tests.yml
index 6890af2..b671e06 100644
--- a/.github/workflows/mysql-tests.yml
+++ b/.github/workflows/mysql-tests.yml
@@ -31,10 +31,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK [email protected]
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/.github/workflows/oracle-tests.yml
b/.github/workflows/oracle-tests.yml
index 7f321f5..5ed565d 100644
--- a/.github/workflows/oracle-tests.yml
+++ b/.github/workflows/oracle-tests.yml
@@ -31,10 +31,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK [email protected]
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/.github/workflows/postgres-tests.yml
b/.github/workflows/postgres-tests.yml
index 85124d2..ba57e36 100644
--- a/.github/workflows/postgres-tests.yml
+++ b/.github/workflows/postgres-tests.yml
@@ -31,10 +31,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK [email protected]
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/.github/workflows/sqlserver-tests.yml
b/.github/workflows/sqlserver-tests.yml
index e1c6918..574d28c 100644
--- a/.github/workflows/sqlserver-tests.yml
+++ b/.github/workflows/sqlserver-tests.yml
@@ -31,10 +31,11 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number
}}/merge:scratch
git checkout scratch
- - name: Set up JDK [email protected]
- uses: olafurpg/setup-scala@v10
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- java-version: [email protected]
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
uses: coursier/[email protected]
diff --git a/build.sbt b/build.sbt
index 2e474ec..18a1a3d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -42,7 +42,7 @@ lazy val migrator = project
lazy val themeSettings = Seq(
// allow access to snapshots for pekko-sbt-paradox
resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"),
- pekkoParadoxGithub :=
"https://github.com/apache/incubator-pekko-persistence-jdbc")
+ pekkoParadoxGithub :=
Some("https://github.com/apache/incubator-pekko-persistence-jdbc"))
lazy val docs = project
.enablePlugins(ProjectAutoPlugin, PekkoParadoxPlugin, ParadoxSitePlugin,
PreprocessPlugin, PublishRsyncPlugin)
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/AllPersistenceIdsTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/AllPersistenceIdsTest.scala
index c9a14d6..3b92637 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/AllPersistenceIdsTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/AllPersistenceIdsTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByPersistenceIdTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByPersistenceIdTest.scala
index 73cf027..c5f7b8a 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByPersistenceIdTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByPersistenceIdTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByTagTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByTagTest.scala
index 0b483d2..b367fa9 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByTagTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentEventsByTagTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentPersistenceIdsTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentPersistenceIdsTest.scala
index 2ed6059..2338750 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentPersistenceIdsTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/CurrentPersistenceIdsTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventAdapterTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventAdapterTest.scala
index c1a0510..2d5deac 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventAdapterTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventAdapterTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByPersistenceIdTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByPersistenceIdTest.scala
index aef3142..6cfcc19 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByPersistenceIdTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByPersistenceIdTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByTagTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByTagTest.scala
index 44cd150..c0c555e 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByTagTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/EventsByTagTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/HardDeleteQueryTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/HardDeleteQueryTest.scala
index 5635a2a..9f478b4 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/HardDeleteQueryTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/HardDeleteQueryTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalPerfSpec.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalPerfSpec.scala
index 36a6166..efddf94 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalPerfSpec.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalPerfSpec.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.journal.JdbcJournalPerfSpec
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalSpec.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalSpec.scala
index 2588bd3..7c198e0 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalSpec.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcJournalSpec.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.journal.JdbcJournalSpec
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcSnapshotStoreSpec.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcSnapshotStoreSpec.scala
index e9bcfe0..9b0402f 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcSnapshotStoreSpec.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JdbcSnapshotStoreSpec.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.snapshot.JdbcSnapshotStoreSpec
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalDaoStreamMessagesMemoryTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalDaoStreamMessagesMemoryTest.scala
index 65eda37..8e37673 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalDaoStreamMessagesMemoryTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalDaoStreamMessagesMemoryTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalSequenceActorTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalSequenceActorTest.scala
index 749d81b..3271123 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalSequenceActorTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/JournalSequenceActorTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import org.apache.pekko.persistence.jdbc.query.{
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresDurableStateStorePluginSpec.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresDurableStateStorePluginSpec.scala
index ef8fedd..d023070 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresDurableStateStorePluginSpec.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresDurableStateStorePluginSpec.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import com.typesafe.config.ConfigFactory
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresScalaJdbcDurableStateChangesByTagTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresScalaJdbcDurableStateChangesByTagTest.scala
index 19c0cb1..5ab6dac 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresScalaJdbcDurableStateChangesByTagTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/PostgresScalaJdbcDurableStateChangesByTagTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import com.typesafe.config.ConfigFactory
diff --git
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/StoreOnlySerializableMessagesTest.scala
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/StoreOnlySerializableMessagesTest.scala
index 205769a..6459a19 100644
---
a/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/StoreOnlySerializableMessagesTest.scala
+++
b/core/src/it/scala/org/apache/pekko/persistence/jdbc/integration/StoreOnlySerializableMessagesTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.integration
import
org.apache.pekko.persistence.jdbc.serialization.StoreOnlySerializableMessagesTest
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/JournalRow.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/JournalRow.scala
index 33cc6d5..5f79f70 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/JournalRow.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/JournalRow.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/PekkoSerialization.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/PekkoSerialization.scala
index bd8476b..132164e 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/PekkoSerialization.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/PekkoSerialization.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/config/AkkaPersistenceConfig.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/config/AkkaPersistenceConfig.scala
index 29cd43e..e26f75b 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/config/AkkaPersistenceConfig.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/config/AkkaPersistenceConfig.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala
index 533732b..9993897 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickDatabase.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickExtension.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickExtension.scala
index 799aa23..8b42b19 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickExtension.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/db/SlickExtension.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/JdbcAsyncWriteJournal.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/JdbcAsyncWriteJournal.scala
index 9ba58e2..1ac28cd 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/JdbcAsyncWriteJournal.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/JdbcAsyncWriteJournal.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseDao.scala
index 57e077c..cdacc0d 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseJournalDaoWithReadMessages.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseJournalDaoWithReadMessages.scala
index d6c2068..02b63b6 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseJournalDaoWithReadMessages.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/BaseJournalDaoWithReadMessages.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/DefaultJournalDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/DefaultJournalDao.scala
index 2257003..c9f7770 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/DefaultJournalDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/DefaultJournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/FlowControl.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/FlowControl.scala
index 4cdc81a..125cae5 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/FlowControl.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/FlowControl.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/H2Compat.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/H2Compat.scala
index 339af73..651c4d5 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/H2Compat.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/H2Compat.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDao.scala
index 1101d21..1c77c7c 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithReadMessages.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithReadMessages.scala
index 96153ae..8cf5958 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithReadMessages.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithReadMessages.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithUpdates.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithUpdates.scala
index 4e05c20..2f5e8ca 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithUpdates.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalDaoWithUpdates.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalQueries.scala
index dbdcce0..f7c5ca4 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalTables.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalTables.scala
index 827f9de..7958f47 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalTables.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/JournalTables.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalDao.scala
index ff93e0e..4b364f3 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializer.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializer.scala
index d19e1e2..7ce254c 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializer.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializer.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalQueries.scala
index 5918fb4..bd1a838 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTables.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTables.scala
index 63ec295..96f25d6 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTables.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTables.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/package.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/package.scala
index 577270e..1896f3c 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/package.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/package.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JdbcReadJournalProvider.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JdbcReadJournalProvider.scala
index bb67baf..7c2ba86 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JdbcReadJournalProvider.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JdbcReadJournalProvider.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActor.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActor.scala
index bd05723..f23b8d3 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActor.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActor.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/DefaultReadJournalDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/DefaultReadJournalDao.scala
index 128492a..8b253af 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/DefaultReadJournalDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/DefaultReadJournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalDao.scala
index 075eeb0..ff40a83 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalQueries.scala
index b727cd3..f92ce4a 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ByteArrayReadJournalDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ByteArrayReadJournalDao.scala
index b2c2bf2..ccfcf04 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ByteArrayReadJournalDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ByteArrayReadJournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ReadJournalQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ReadJournalQueries.scala
index 8d9f0d4..ce0777d 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ReadJournalQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/dao/legacy/ReadJournalQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/javadsl/JdbcReadJournal.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/javadsl/JdbcReadJournal.scala
index a01d168..a8ccb72 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/javadsl/JdbcReadJournal.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/javadsl/JdbcReadJournal.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/package.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/package.scala
index bafe8ac..414c245 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/package.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/package.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/scaladsl/JdbcReadJournal.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/scaladsl/JdbcReadJournal.scala
index fe23c02..693c485 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/scaladsl/JdbcReadJournal.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/query/scaladsl/JdbcReadJournal.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala
index 1d79a5b..c5a65df 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/SnapshotSerializer.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/SnapshotSerializer.scala
index f08965d..1cf9cd4 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/SnapshotSerializer.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/SnapshotSerializer.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStore.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStore.scala
index 84edbab..fce47e3 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStore.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStore.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/DefaultSnapshotDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/DefaultSnapshotDao.scala
index b99328a..258c5cb 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/DefaultSnapshotDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/DefaultSnapshotDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotDao.scala
index 11448b2..9c9d62f 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotQueries.scala
index 1ea83ee..ddb0858 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotTables.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotTables.scala
index 33edb78..50a3b1a 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotTables.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/SnapshotTables.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotDao.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotDao.scala
index 5841af4..e16fc43 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotDao.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotSerializer.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotSerializer.scala
index f77cc14..f7d12f0 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotSerializer.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/ByteArraySnapshotSerializer.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotQueries.scala
index 22ebbce..2c865af 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTables.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTables.scala
index 34229b9..bece091 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTables.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTables.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateQueries.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateQueries.scala
index 51bcf21..ef464e1 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateQueries.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateQueries.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateTables.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateTables.scala
index 20e6a05..a16595e 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateTables.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/DurableStateTables.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/JdbcDurableStateStoreProvider.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/JdbcDurableStateStoreProvider.scala
index 46c02a8..be9652a 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/JdbcDurableStateStoreProvider.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/JdbcDurableStateStoreProvider.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/OffsetOps.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/OffsetOps.scala
index 163c124..de7ea46 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/OffsetOps.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/OffsetOps.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
index f586174..19b92ae 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/SequenceNextValUpdater.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/javadsl/JdbcDurableStateStore.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/javadsl/JdbcDurableStateStore.scala
index f5278f3..c4254fb 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/javadsl/JdbcDurableStateStore.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/javadsl/JdbcDurableStateStore.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActor.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActor.scala
index ffd6932..7521eee 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActor.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActor.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.scala
index cb49f98..913e1a1 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateStore.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaType.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaType.scala
index 6ce5176..92bf328 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaType.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaType.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaUtilsImpl.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaUtilsImpl.scala
index a248cdb..5645c71 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaUtilsImpl.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaUtilsImpl.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/javadsl/SchemaUtils.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/javadsl/SchemaUtils.scala
index cc2cf60..8ccdb20 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/javadsl/SchemaUtils.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/javadsl/SchemaUtils.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/scaladsl/SchemaUtils.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/scaladsl/SchemaUtils.scala
index 2fad712..dd00d5c 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/scaladsl/SchemaUtils.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/scaladsl/SchemaUtils.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/BlockingOps.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/BlockingOps.scala
index 7576402..0e98fc5 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/BlockingOps.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/BlockingOps.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ByteArrayOps.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ByteArrayOps.scala
index 8f76778..31b92ae 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ByteArrayOps.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ByteArrayOps.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ConfigOps.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ConfigOps.scala
index 09e45b2..10ac838 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ConfigOps.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/ConfigOps.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/InputStreamOps.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/InputStreamOps.scala
index 3c2025a..c78676a 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/InputStreamOps.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/InputStreamOps.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/PluginVersionChecker.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/PluginVersionChecker.scala
index 4981df8..9db8160 100644
---
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/PluginVersionChecker.scala
+++
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/PluginVersionChecker.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/StringOps.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/StringOps.scala
index 6e0d764..5bc50a9 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/StringOps.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/StringOps.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/TrySeq.scala
b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/TrySeq.scala
index e743c79..fed06ed 100644
--- a/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/TrySeq.scala
+++ b/core/src/main/scala/org/apache/pekko/persistence/jdbc/util/TrySeq.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/java/org/apache/pekko/persistence/jdbc/JavadslSnippets.java
b/core/src/test/java/org/apache/pekko/persistence/jdbc/JavadslSnippets.java
index b0c0272..9a9323a 100644
--- a/core/src/test/java/org/apache/pekko/persistence/jdbc/JavadslSnippets.java
+++ b/core/src/test/java/org/apache/pekko/persistence/jdbc/JavadslSnippets.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/java/org/apache/pekko/persistence/jdbc/state/JavadslSnippets.java
b/core/src/test/java/org/apache/pekko/persistence/jdbc/state/JavadslSnippets.java
index b82bbda..b6ab8e1 100644
---
a/core/src/test/java/org/apache/pekko/persistence/jdbc/state/JavadslSnippets.java
+++
b/core/src/test/java/org/apache/pekko/persistence/jdbc/state/JavadslSnippets.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.
+ */
+
package org.apache.pekko.persistence.jdbc.state;
import java.util.concurrent.CompletionStage;
diff --git a/core/src/test/resources/oracle-schema-overrides.conf
b/core/src/test/resources/oracle-schema-overrides.conf
index 44702b0..557ff60 100644
--- a/core/src/test/resources/oracle-schema-overrides.conf
+++ b/core/src/test/resources/oracle-schema-overrides.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Oracle does not support returning a column with a case senstive name so all
the column names and table names need
# to be caps. See:
# https://github.com/slick/slick/issues/47
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/ScaladslSnippets.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/ScaladslSnippets.scala
index ab63580..ff77f4d 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/ScaladslSnippets.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/ScaladslSnippets.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/SharedActorSystemTestSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/SharedActorSystemTestSpec.scala
index 98f0b66..d202ce4 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/SharedActorSystemTestSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/SharedActorSystemTestSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/SimpleSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/SimpleSpec.scala
index 3c6e9df..a656cc8 100644
--- a/core/src/test/scala/org/apache/pekko/persistence/jdbc/SimpleSpec.scala
+++ b/core/src/test/scala/org/apache/pekko/persistence/jdbc/SimpleSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/SingleActorSystemPerTestSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/SingleActorSystemPerTestSpec.scala
index c706233..55a86ed 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/SingleActorSystemPerTestSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/SingleActorSystemPerTestSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/TablesTestSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/TablesTestSpec.scala
index e676f16..6de79f9 100644
--- a/core/src/test/scala/org/apache/pekko/persistence/jdbc/TablesTestSpec.scala
+++ b/core/src/test/scala/org/apache/pekko/persistence/jdbc/TablesTestSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/ConfigOpsTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/ConfigOpsTest.scala
index b723c4d..48d4dbc 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/ConfigOpsTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/ConfigOpsTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/JNDIConfigTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/JNDIConfigTest.scala
index c0c5d79..634ce49 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/JNDIConfigTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/JNDIConfigTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/PekkoPersistenceConfigTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/PekkoPersistenceConfigTest.scala
index 7105ba9..8cf3c96 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/PekkoPersistenceConfigTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/configuration/PekkoPersistenceConfigTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalPerfSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalPerfSpec.scala
index b535eac..d5f2288 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalPerfSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalPerfSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalSpec.scala
index a7f8f6d..3ebcbc0 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/JdbcJournalSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/TrySeqTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/TrySeqTest.scala
index f8d5f06..1396d7d 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/TrySeqTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/TrySeqTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializerTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializerTest.scala
index 0971166..2b474ad 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializerTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/ByteArrayJournalSerializerTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTablesTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTablesTest.scala
index 3f79e05..f0794a7 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTablesTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/JournalTablesTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/TagsSerializationTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/TagsSerializationTest.scala
index ea63d7f..c3b914a 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/TagsSerializationTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/journal/dao/legacy/TagsSerializationTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/AllPersistenceIdsTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/AllPersistenceIdsTest.scala
index 1990068..bdf0199 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/AllPersistenceIdsTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/AllPersistenceIdsTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByPersistenceIdTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByPersistenceIdTest.scala
index 0f7e9b9..3bf92cb 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByPersistenceIdTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByPersistenceIdTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByTagTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByTagTest.scala
index 529e8a4..a472074 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByTagTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentEventsByTagTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentPersistenceIdsTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentPersistenceIdsTest.scala
index b6d58ec..284c0f6 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentPersistenceIdsTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/CurrentPersistenceIdsTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventAdapterTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventAdapterTest.scala
index 8582c83..111e03e 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventAdapterTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventAdapterTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByPersistenceIdTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByPersistenceIdTest.scala
index a6058d5..1ab3c0e 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByPersistenceIdTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByPersistenceIdTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByTagTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByTagTest.scala
index 1b3c571..023294b 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByTagTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/EventsByTagTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/HardDeleteQueryTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/HardDeleteQueryTest.scala
index 8a93926..8e0561b 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/HardDeleteQueryTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/HardDeleteQueryTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalDaoStreamMessagesMemoryTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalDaoStreamMessagesMemoryTest.scala
index 2d65c58..f6d725f 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalDaoStreamMessagesMemoryTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalDaoStreamMessagesMemoryTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActorTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActorTest.scala
index eed85bb..19e2d4e 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActorTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/JournalSequenceActorTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/MultipleReadJournalTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/MultipleReadJournalTest.scala
index 6b06370..547684f 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/MultipleReadJournalTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/MultipleReadJournalTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/QueryTestSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/QueryTestSpec.scala
index c51c8b2..03c9097 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/QueryTestSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/QueryTestSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/TaggingEventAdapter.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/TaggingEventAdapter.scala
index 4335ef0..46b6ae0 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/TaggingEventAdapter.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/TaggingEventAdapter.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalTablesTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalTablesTest.scala
index dac4717..fe8f4cd 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalTablesTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/ReadJournalTablesTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/TestProbeReadJournalDao.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/TestProbeReadJournalDao.scala
index 90b9f27..817c23a 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/TestProbeReadJournalDao.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/query/dao/TestProbeReadJournalDao.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/serialization/StoreOnlySerializableMessagesTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/serialization/StoreOnlySerializableMessagesTest.scala
index 9b99a3d..c926e74 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/serialization/StoreOnlySerializableMessagesTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/serialization/StoreOnlySerializableMessagesTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStoreSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStoreSpec.scala
index 77ba42d..f99c393 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStoreSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/JdbcSnapshotStoreSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTablesTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTablesTest.scala
index 25b4643..2f89a42 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTablesTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/snapshot/dao/legacy/SnapshotTablesTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/Payloads.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/Payloads.scala
index 3259ed5..093d4c0 100644
--- a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/Payloads.scala
+++ b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/Payloads.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/ScaladslSnippets.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/ScaladslSnippets.scala
index e204a29..e3e32be 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/ScaladslSnippets.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/ScaladslSnippets.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.
+ */
+
package org.apache.pekko.persistence.jdbc.state
import scala.concurrent.Future
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DataGenerationHelper.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DataGenerationHelper.scala
index 25d5d66..29caacc 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DataGenerationHelper.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DataGenerationHelper.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActorTest.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActorTest.scala
index 741249a..a37224c 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActorTest.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateSequenceActorTest.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateStorePluginSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateStorePluginSpec.scala
index 2af88ec..b217681 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateStorePluginSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/DurableStateStorePluginSpec.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.
+ */
+
package org.apache.pekko.persistence.jdbc.state.scaladsl
import com.typesafe.config.{ Config, ConfigFactory }
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateSpec.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateSpec.scala
index a0c355b..85b9f97 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateSpec.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/JdbcDurableStateSpec.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/StateSpecBase.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/StateSpecBase.scala
index 7aaecbe..877db61 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/StateSpecBase.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/StateSpecBase.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/TestProbeDurableStateStoreQuery.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/TestProbeDurableStateStoreQuery.scala
index dd161e0..1bced26 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/TestProbeDurableStateStoreQuery.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/state/scaladsl/TestProbeDurableStateStoreQuery.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/ClasspathResources.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/ClasspathResources.scala
index 8efde3b..785a51e 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/ClasspathResources.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/ClasspathResources.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/DropCreate.scala
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/DropCreate.scala
index bd962c5..0bad7f3 100644
---
a/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/DropCreate.scala
+++
b/core/src/test/scala/org/apache/pekko/persistence/jdbc/util/DropCreate.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/JournalMigratorTest.scala
b/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/JournalMigratorTest.scala
index 4454afd..afe9170 100644
---
a/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/JournalMigratorTest.scala
+++
b/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/JournalMigratorTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.migrator.integration
import org.apache.pekko.persistence.jdbc.migrator.MigratorSpec._
diff --git
a/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/SnapshotMigratorTest.scala
b/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/SnapshotMigratorTest.scala
index 0cac25d..77c2957 100644
---
a/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/SnapshotMigratorTest.scala
+++
b/migrator/src/it/scala/org/apache/pekko/persistence/jdbc/migrator/integration/SnapshotMigratorTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.migrator.integration
import org.apache.pekko.persistence.jdbc.migrator.MigratorSpec._
diff --git
a/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigrator.scala
b/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigrator.scala
index a20e847..062aeb5 100644
---
a/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigrator.scala
+++
b/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigrator.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git
a/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigrator.scala
b/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigrator.scala
index dda2cb7..686634d 100644
---
a/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigrator.scala
+++
b/migrator/src/main/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigrator.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) 2014 - 2019 Dennis Vriend <https://github.com/dnvriend>
* Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
diff --git a/migrator/src/test/resources/general.conf
b/migrator/src/test/resources/general.conf
index 36c7e2f..96766d8 100644
--- a/migrator/src/test/resources/general.conf
+++ b/migrator/src/test/resources/general.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
#
diff --git a/migrator/src/test/resources/h2-application.conf
b/migrator/src/test/resources/h2-application.conf
index c4b750d..827703a 100644
--- a/migrator/src/test/resources/h2-application.conf
+++ b/migrator/src/test/resources/h2-application.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
// general.conf is included only for shared settings used for the
pekko-persistence-jdbc tests
diff --git a/migrator/src/test/resources/mysql-application.conf
b/migrator/src/test/resources/mysql-application.conf
index e2d95a0..5082bc7 100644
--- a/migrator/src/test/resources/mysql-application.conf
+++ b/migrator/src/test/resources/mysql-application.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
// general.conf is included only for shared settings used for the
pekko-persistence-jdbc tests
diff --git a/migrator/src/test/resources/oracle-application.conf
b/migrator/src/test/resources/oracle-application.conf
index 8f09308..928b98c 100644
--- a/migrator/src/test/resources/oracle-application.conf
+++ b/migrator/src/test/resources/oracle-application.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
// general.conf is included only for shared settings used for the
pekko-persistence-jdbc tests
diff --git a/migrator/src/test/resources/postgres-application.conf
b/migrator/src/test/resources/postgres-application.conf
index 138cadc..cc469b7 100644
--- a/migrator/src/test/resources/postgres-application.conf
+++ b/migrator/src/test/resources/postgres-application.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
// general.conf is included only for shared settings used for the
pekko-persistence-jdbc tests
diff --git a/migrator/src/test/resources/sqlserver-application.conf
b/migrator/src/test/resources/sqlserver-application.conf
index 231ace3..0f13c23 100644
--- a/migrator/src/test/resources/sqlserver-application.conf
+++ b/migrator/src/test/resources/sqlserver-application.conf
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: Apache-2.0
+
# Copyright (C) 2019 - 2021 Lightbend Inc. <https://www.lightbend.com>
include "general.conf"
diff --git
a/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigratorTest.scala
b/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigratorTest.scala
index fc9109b..ab6a383 100644
---
a/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigratorTest.scala
+++
b/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/JournalMigratorTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.migrator
import org.apache.pekko.Done
diff --git
a/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala
b/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala
index a8d38ce..3b13d3b 100644
---
a/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.scala
+++
b/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/MigratorSpec.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.
+ */
+
package org.apache.pekko.persistence.jdbc.migrator
import org.apache.pekko.actor.{ ActorRef, ActorSystem, Props, Stash }
diff --git
a/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigratorTest.scala
b/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigratorTest.scala
index 48adc0d..d4f3afa 100644
---
a/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigratorTest.scala
+++
b/migrator/src/test/scala/org/apache/pekko/persistence/jdbc/migrator/SnapshotMigratorTest.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.
+ */
+
package org.apache.pekko.persistence.jdbc.migrator
import org.apache.pekko.Done
diff --git a/project/AutomaticModuleName.scala
b/project/AutomaticModuleName.scala
index 59f894a..00723cf 100644
--- a/project/AutomaticModuleName.scala
+++ b/project/AutomaticModuleName.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) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
*/
diff --git a/project/CopyrightHeader.scala b/project/CopyrightHeader.scala
new file mode 100644
index 0000000..22310f4
--- /dev/null
+++ b/project/CopyrightHeader.scala
@@ -0,0 +1,111 @@
+/*
+ * 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, HeaderPlugin, NewLine }
+import org.apache.commons.lang3.StringUtils
+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, IntegrationTest).flatMap { config =>
+ inConfig(config)(
+ Seq(
+ headerLicense := Some(HeaderLicense.Custom(apacheHeader)),
+ headerMappings := headerMappings.value ++ Map(
+ HeaderFileType.scala -> cStyleComment,
+ HeaderFileType.java -> cStyleComment,
+ HeaderFileType.conf -> hashLineComment,
+ HeaderFileType("template") -> cStyleComment)))
+ }
+
+ override def projectSettings: Seq[Def.Setting[_]] =
+ Def.settings(headerMappingSettings, additional) ++ Defaults.itSettings ++
+ headerSettings(IntegrationTest)
+
+ def additional: Seq[Def.Setting[_]] =
+ Def.settings(Compile / compile := {
+ (Compile / headerCreate).value
+ (Compile / compile).value
+ },
+ Test / compile := {
+ (Test / headerCreate).value
+ (Test / compile).value
+ })
+
+ 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 apacheSpdxHeader: String = "SPDX-License-Identifier: Apache-2.0"
+
+ val cStyleComment =
HeaderCommentStyle.cStyleBlockComment.copy(commentCreator = new
CommentCreator() {
+
+ override def apply(text: String, existingText: Option[String]): String = {
+ val formatted = existingText match {
+ case Some(currentText) if isValidCopyrightAnnotated(currentText) =>
+ currentText
+ case Some(currentText) if isLightbendCopyrighted(currentText) =>
+ HeaderCommentStyle.cStyleBlockComment.commentCreator(text,
existingText) + NewLine * 2 + currentText
+ case Some(currentText) =>
+ throw new IllegalStateException(s"Unable to detect copyright for
header:[${currentText}]")
+ case None =>
+ HeaderCommentStyle.cStyleBlockComment.commentCreator(text,
existingText)
+ }
+ formatted.trim
+ }
+ })
+
+ val hashLineComment = HeaderCommentStyle.hashLineComment.copy(commentCreator
= new CommentCreator() {
+
+ // deliberately hardcode use of apacheSpdxHeader and ignore input text
+ override def apply(text: String, existingText: Option[String]): String = {
+ val formatted = existingText match {
+ case Some(currentText) if isApacheCopyrighted(currentText) =>
+ currentText
+ case Some(currentText) =>
+ HeaderCommentStyle.hashLineComment.commentCreator(apacheSpdxHeader,
existingText) + NewLine * 2 + currentText
+ case None =>
+ HeaderCommentStyle.hashLineComment.commentCreator(apacheSpdxHeader,
existingText)
+ }
+ formatted.trim
+ }
+ })
+
+ private def isApacheCopyrighted(text: String): Boolean =
+ StringUtils.containsIgnoreCase(text, "licensed to the apache software
foundation (asf)") ||
+ StringUtils.containsIgnoreCase(text,
"www.apache.org/licenses/license-2.0") ||
+ StringUtils.contains(text, "Apache-2.0")
+
+ private def isLightbendCopyrighted(text: String): Boolean =
+ StringUtils.containsIgnoreCase(text, "lightbend inc.")
+
+ private def isValidCopyrightAnnotated(text: String): Boolean = {
+ isApacheCopyrighted(text)
+ }
+}
+
+object CopyrightHeader extends CopyrightHeader
+
+object CopyrightHeaderInPr extends CopyrightHeader
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index d490a2c..b95fd56 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.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.
+ */
+
import sbt._
object Dependencies {
diff --git a/project/ProjectAutoPlugin.scala b/project/ProjectAutoPlugin.scala
index 9caf84d..b67bfe8 100644
--- a/project/ProjectAutoPlugin.scala
+++ b/project/ProjectAutoPlugin.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.
+ */
+
import com.geirsson.CiReleasePlugin
import de.heikoseeberger.sbtheader.HeaderPlugin
import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport.{ headerLicense,
HeaderLicense }
@@ -67,7 +76,7 @@ object ProjectAutoPlugin extends AutoPlugin {
"-doc-version",
version.value,
"-sourcepath",
- (baseDirectory in ThisBuild).value.toString,
+ (ThisBuild / baseDirectory).value.toString,
"-skip-packages",
"pekko.pattern", // for some reason Scaladoc creates this
"-doc-source-url", {
@@ -78,9 +87,6 @@ object ProjectAutoPlugin extends AutoPlugin {
"https://pekko.apache.org/api/pekko-persistence-jdbc/current/"),
// show full stack traces and test case durations
Test / testOptions += Tests.Argument("-oDF"),
- headerLicense := Some(HeaderLicense.Custom("""|Copyright (C) 2014 - 2019
Dennis Vriend <https://github.com/dnvriend>
- |Copyright (C) 2019 - 2021 Lightbend Inc.
<https://www.lightbend.com>
- |""".stripMargin)),
resolvers += Resolver.jcenterRepo,
sonatypeProfileName := "org.apache.pekko")
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 1de56a9..43e2c4e 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,7 +1,7 @@
resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
// compliance
-addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
+addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0")
@@ -16,7 +16,7 @@ addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" %
"0.2")
// We have to deliberately use older versions of sbt-paradox because current
Pekko sbt build
// only loads on JDK 1.8 so we need to bring in older versions of parboiled
which support JDK 1.8
-addSbtPlugin(("org.apache.pekko" % "pekko-sbt-paradox" %
"0.0.0+19-f498f7c0-SNAPSHOT").excludeAll(
+addSbtPlugin(("org.apache.pekko" % "pekko-sbt-paradox" %
"0.0.0+33-0022f891-SNAPSHOT").excludeAll(
"com.lightbend.paradox", "sbt-paradox",
"com.lightbend.paradox" % "sbt-paradox-apidoc",
"com.lightbend.paradox" % "sbt-paradox-project-info"))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]