diff --git a/apm-agent-core/src/main/java/co/elastic/apm/agent/configuration/converter/WildcardMatcher.java b/apm-agent-core/src/main/java/co/elastic/apm/agent/configuration/converter/WildcardMatcher.java
index db6d3fb965c..39c79f7928e 100644
--- a/apm-agent-core/src/main/java/co/elastic/apm/agent/configuration/converter/WildcardMatcher.java
+++ b/apm-agent-core/src/main/java/co/elastic/apm/agent/configuration/converter/WildcardMatcher.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.agent.configuration.converter;
import javax.annotation.Nullable;
diff --git a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/BinaryHeaderGetterBridge.java b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/BinaryHeaderGetterBridge.java
index 8816f0e9e4d..7a942a0a088 100644
--- a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/BinaryHeaderGetterBridge.java
+++ b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/BinaryHeaderGetterBridge.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.agent.impl.transaction;
import co.elastic.apm.plugin.spi.HeaderGetter;
diff --git a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderConsumerBridge.java b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderConsumerBridge.java
index 012de108567..1510541ca19 100644
--- a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderConsumerBridge.java
+++ b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderConsumerBridge.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.agent.impl.transaction;
import javax.annotation.Nullable;
diff --git a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderGetterBridge.java b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderGetterBridge.java
index 78cab4611da..e0cddaf5a56 100644
--- a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderGetterBridge.java
+++ b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/HeaderGetterBridge.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.agent.impl.transaction;
import javax.annotation.Nullable;
diff --git a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/TextHeaderGetterBridge.java b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/TextHeaderGetterBridge.java
index c1a5828b115..7513f80fec2 100644
--- a/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/TextHeaderGetterBridge.java
+++ b/apm-agent-core/src/main/java/co/elastic/apm/agent/impl/transaction/TextHeaderGetterBridge.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.agent.impl.transaction;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/pom.xml b/apm-agent-plugin-spi/pom.xml
index 112155d86c0..cb4d787d012 100644
--- a/apm-agent-plugin-spi/pom.xml
+++ b/apm-agent-plugin-spi/pom.xml
@@ -10,5 +10,50 @@
apm-agent-plugin-spi
+ ${project.groupId}:${project.artifactId}
+
+
+ The Apache Software License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+
+
+
+
+ ${project.basedir}/..
+
+
+
+
+ net.bytebuddy
+ byte-buddy-dep
+
+
+
+
+
+
+ maven-source-plugin
+
+
+ generate-source-jar
+ package
+
+ jar-no-fork
+
+
+
+
+
+ maven-jar-plugin
+
+
+
+ ${project.groupId}.pluginspi
+
+
+
+
+
+
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractContext.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractContext.java
index 8455ffc648c..bca8edeb5d5 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractContext.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractContext.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface AbstractContext {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractSpan.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractSpan.java
index 4231446ce6d..c2fc8a5a395 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractSpan.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/AbstractSpan.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Allocator.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Allocator.java
index 0b71cf27be0..8fa66f8b9bf 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Allocator.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Allocator.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface Allocator {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderGetter.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderGetter.java
index 97e40f827b8..aa4ab6dc670 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderGetter.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderGetter.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface BinaryHeaderGetter extends HeaderGetter {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderSetter.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderSetter.java
index 5726da122e7..87207af755f 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderSetter.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/BinaryHeaderSetter.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ChildContextCreator.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ChildContextCreator.java
index 74a533927ff..cd66e355fbd 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ChildContextCreator.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ChildContextCreator.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface ChildContextCreator {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Cloud.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Cloud.java
index ab1584be409..8a1fb4be52b 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Cloud.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Cloud.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CloudOrigin.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CloudOrigin.java
index 7bef6ca32ca..0ab30cb9f53 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CloudOrigin.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CloudOrigin.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CoreConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CoreConfiguration.java
index 4a1f675bd95..4d2aea899d0 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CoreConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/CoreConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.List;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Db.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Db.java
index 7d4aa26739e..333be5cdf99 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Db.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Db.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DefaultOutcome.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DefaultOutcome.java
index f0bc3e0de31..6c6aea984fe 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DefaultOutcome.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DefaultOutcome.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public enum DefaultOutcome implements Outcome {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Destination.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Destination.java
index 236b4d1a8cc..5e8ac2c45a2 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Destination.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Destination.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPool.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPool.java
index 2d63f251e37..f8ffaf7ec09 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPool.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPool.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public class DisabledObjectPool implements ObjectPool {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPoolFactory.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPoolFactory.java
index d0e442a2143..208b398143b 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPoolFactory.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/DisabledObjectPoolFactory.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public class DisabledObjectPoolFactory implements ObjectPoolFactory {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloud.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloud.java
index 5851341cff1..2413c595aa2 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloud.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloud.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloudOrigin.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloudOrigin.java
index f49070fdd47..87099f49b6a 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloudOrigin.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCloudOrigin.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCoreConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCoreConfiguration.java
index 6c67d6d424c..c7f30c7499a 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCoreConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyCoreConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.Collections;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDb.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDb.java
index 3c052e932f4..cf87d55bc6c 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDb.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDb.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDestination.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDestination.java
index 853e881b1ba..21ac0778f95 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDestination.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyDestination.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyFaas.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyFaas.java
index 980a2a1f5aa..31aab110933 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyFaas.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyFaas.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyHttp.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyHttp.java
index 6c268b29e67..dd39b782bd7 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyHttp.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyHttp.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessage.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessage.java
index 29b1e4ed21c..acb25e9f6cf 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessage.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessage.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessagingConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessagingConfiguration.java
index a109322c230..be4ce5003d0 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessagingConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyMessagingConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.Collection;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyPotentiallyMultiValuedMap.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyPotentiallyMultiValuedMap.java
index ed512e5e0a6..ef7f43e4acb 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyPotentiallyMultiValuedMap.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyPotentiallyMultiValuedMap.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyRequest.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyRequest.java
index a40917dd36c..4b45f775b37 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyRequest.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyRequest.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyResponse.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyResponse.java
index 9aaf2d6cbd5..77a3ee59a43 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyResponse.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyResponse.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptySocket.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptySocket.java
index 142d845b19c..95f4a2c09f8 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptySocket.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptySocket.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyStacktraceConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyStacktraceConfiguration.java
index 7bc5f0b972d..dec386af821 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyStacktraceConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyStacktraceConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.Collection;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUrl.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUrl.java
index c64e60d4717..508e86c1d6d 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUrl.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUrl.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUser.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUser.java
index f8e5ba72072..761b461074f 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUser.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyUser.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyWebConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyWebConfiguration.java
index be0455e242c..fa86d1a0acd 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyWebConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/EmptyWebConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.Collections;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ErrorCapture.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ErrorCapture.java
index 409008b815b..1e2e848e4d2 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ErrorCapture.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ErrorCapture.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface ErrorCapture {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Faas.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Faas.java
index f103c00b99e..c5bee6dbad3 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Faas.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Faas.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/HeaderChildContextCreator.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/HeaderChildContextCreator.java
index 4a31ddfc52c..a432b3faa53 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/HeaderChildContextCreator.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/HeaderChildContextCreator.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Http.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Http.java
index 7e18fd580ea..93e44614fb9 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Http.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Http.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Id.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Id.java
index 7de610830ef..27c5ee034a7 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Id.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Id.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface Id {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Message.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Message.java
index 10ce40ad6c2..1225556a0e0 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Message.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Message.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/MessagingConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/MessagingConfiguration.java
index 9354a52d76e..a9c86d676d7 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/MessagingConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/MessagingConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.Collection;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/NoopTracer.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/NoopTracer.java
index 3fb4f0511d6..db600f139a5 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/NoopTracer.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/NoopTracer.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ObjectPoolFactory.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ObjectPoolFactory.java
index 245c332ea4c..a80fd6850bf 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ObjectPoolFactory.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ObjectPoolFactory.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface ObjectPoolFactory {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Recyclable.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Recyclable.java
index e26c6c33388..47cccdaa850 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Recyclable.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Recyclable.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface Recyclable {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Request.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Request.java
index cf07dc3ec30..7b03c6be767 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Request.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Request.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Response.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Response.java
index 7eb26ba4ed1..93db02a749b 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Response.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Response.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ServiceTarget.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ServiceTarget.java
index 5baa307d672..9333a00ab93 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ServiceTarget.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/ServiceTarget.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Socket.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Socket.java
index 81af77b1293..fd74c752a3e 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Socket.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Socket.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Span.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Span.java
index 2822c004c7a..a2ba78bf49e 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Span.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Span.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/SpanContext.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/SpanContext.java
index f41509fe601..2a203347b28 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/SpanContext.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/SpanContext.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface SpanContext extends AbstractContext {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/StacktraceConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/StacktraceConfiguration.java
index e8d1fa0a53b..d35965dafa7 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/StacktraceConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/StacktraceConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.Collection;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TextHeaderGetter.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TextHeaderGetter.java
index 40481bc3ece..739fa8099f3 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TextHeaderGetter.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TextHeaderGetter.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface TextHeaderGetter extends HeaderGetter {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContext.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContext.java
index 5863893795d..966d9b0bd1b 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContext.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContext.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContextUtil.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContextUtil.java
index c10df38d653..47a88f7004c 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContextUtil.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TraceContextUtil.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Transaction.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Transaction.java
index 98fc2b5de38..5abe5555cc2 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Transaction.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Transaction.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TransactionContext.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TransactionContext.java
index 384c6786b78..f7809ed1f88 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TransactionContext.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/TransactionContext.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
public interface TransactionContext extends AbstractContext {
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Url.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Url.java
index 406e71e295e..f62ca22fe89 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Url.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/Url.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/User.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/User.java
index 47517f538aa..9516b447d9c 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/User.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/User.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import javax.annotation.Nullable;
diff --git a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/WebConfiguration.java b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/WebConfiguration.java
index 9a2e77d1ca9..fc55a99d677 100644
--- a/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/WebConfiguration.java
+++ b/apm-agent-plugin-spi/src/main/java/co/elastic/apm/plugin/spi/WebConfiguration.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package co.elastic.apm.plugin.spi;
import java.util.List;