Skip to content

Commit

Permalink
Resolve conflict of agent dependencies version
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Oct 20, 2023
1 parent f9b3053 commit a785c6d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions agent/plugins/tracing/type/opentelemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<properties>
<opentelemetry-bom.version>1.22.0</opentelemetry-bom.version>
<opentelemetry-autoconfigure.version>1.22.0-alpha</opentelemetry-autoconfigure.version>
<okhttp.version>4.12.0</okhttp.version>
</properties>

<dependencyManagement>
Expand All @@ -40,6 +41,11 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -55,6 +61,20 @@
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-jaeger</artifactId>
<exclusions>
<exclusion>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
</exclusion>
<exclusion>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-common</artifactId>
</exclusion>
<exclusion>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/agent/plugins/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<name>${project.artifactId}</name>

<properties>
<okhttp.version>3.7.0</okhttp.version>
<okhttp.version>4.12.0</okhttp.version>
</properties>

<dependencies>
Expand Down

0 comments on commit a785c6d

Please sign in to comment.