Create jaxrs-client-2.0-common module
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0.gradle
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/jaxrs-client-2.0-common.gradle
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/ClientTracingFeature.java
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/ClientTracingFeature.java
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/ClientTracingFilter.java
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/ClientTracingFilter.java
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/InjectAdapter.java
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/InjectAdapter.java
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/JaxRsClientInstrumentationModule.java
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/JaxRsClientInstrumentationModule.java
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/JaxRsClientTracer.java
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxrsclient/v2_0/JaxRsClientTracer.java
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/test/groovy/JaxMultithreadedClientTest.groovy
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/test/groovy/JaxMultithreadedClientTest.groovy
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/test/groovy/JaxRsClientAsyncTest.groovy
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/test/groovy/JaxRsClientAsyncTest.groovy
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/test/groovy/JaxRsClientTest.groovy
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/test/groovy/JaxRsClientTest.groovy
RENAME
instrumentation/jaxrs-client/jaxrs-client-2.0/src/test/groovy/ResteasyProxyClientTest.groovy
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-common/src/test/groovy/ResteasyProxyClientTest.groovy
MODIFY
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-jersey-2.0/jaxrs-client-2.0-jersey-2.0.gradle
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-jersey-2.0/jaxrs-client-2.0-jersey-2.0.gradle
@@ -11,5 +11,5 @@ muzzle {
dependencies {
compileOnly group: 'org.glassfish.jersey.core', name: 'jersey-client', version: '2.0'
- implementation project(':instrumentation:jaxrs-client:jaxrs-client-2.0')
+ implementation project(':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-common')
}

MODIFY
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-resteasy-2.0/jaxrs-client-2.0-resteasy-2.0.gradle
instrumentation/jaxrs-client/jaxrs-client-2.0/jaxrs-client-2.0-resteasy-2.0/jaxrs-client-2.0-resteasy-2.0.gradle
@@ -11,5 +11,5 @@ muzzle {
dependencies {
compileOnly group: 'org.jboss.resteasy', name: 'resteasy-client', version: '3.0.0.Final'
- implementation project(':instrumentation:jaxrs-client:jaxrs-client-2.0')
+ implementation project(':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-common')
}

MODIFY
settings.gradle
settings.gradle
@@ -113,7 +113,7 @@ include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-resteasy-3.0'
include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-resteasy-3.1'
include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-testing'
include ':instrumentation:jaxrs-client:jaxrs-client-1.1'
-include ':instrumentation:jaxrs-client:jaxrs-client-2.0'
+include ':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-common'
include ':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-jersey-2.0'
include ':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-resteasy-2.0'
include ':instrumentation:jdbc'

Create jaxrs-client-2.0-common module (#1746)