diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index f8f81bd90eeeb..24ede89144e41 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -71,9 +71,9 @@
-
-
-
+
+
+
diff --git a/modules/apm/build.gradle b/modules/apm/build.gradle
index 37d42e4b3fb0c..83d988e966899 100644
--- a/modules/apm/build.gradle
+++ b/modules/apm/build.gradle
@@ -20,7 +20,7 @@ dependencies {
implementation "io.opentelemetry:opentelemetry-api:${otelVersion}"
implementation "io.opentelemetry:opentelemetry-context:${otelVersion}"
implementation "io.opentelemetry:opentelemetry-semconv:${otelSemconvVersion}"
- runtimeOnly "co.elastic.apm:elastic-apm-agent:1.55.0"
+ runtimeOnly "co.elastic.apm:elastic-apm-agent-java8:1.55.0"
javaRestTestImplementation project(':modules:apm')
javaRestTestImplementation project(':test:framework')
diff --git a/modules/apm/licenses/elastic-apm-agent-LICENSE.txt b/modules/apm/licenses/elastic-apm-agent-java8-LICENSE.txt
similarity index 100%
rename from modules/apm/licenses/elastic-apm-agent-LICENSE.txt
rename to modules/apm/licenses/elastic-apm-agent-java8-LICENSE.txt
diff --git a/modules/apm/licenses/elastic-apm-agent-NOTICE.txt b/modules/apm/licenses/elastic-apm-agent-java8-NOTICE.txt
similarity index 100%
rename from modules/apm/licenses/elastic-apm-agent-NOTICE.txt
rename to modules/apm/licenses/elastic-apm-agent-java8-NOTICE.txt