Skip to content

Commit

Permalink
Add dependency management rule for com.squareup.okhttp3:logging-inter…
Browse files Browse the repository at this point in the history
…ceptor

- prevents mixed OkHttp3 versions
  • Loading branch information
lhotari committed Jul 9, 2021
1 parent 7b00aa4 commit a7b274b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1176,6 +1176,11 @@ flexible messaging model and an intuitive client API.</description>
<artifactId>okhttp-urlconnection</artifactId>
<version>${okhttp3.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>${okhttp3.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
Expand Down
7 changes: 6 additions & 1 deletion pulsar-sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<!-- use okio version that matches the okhttp3 version -->
<okio.version>1.17.2</okio.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -124,6 +124,11 @@
<artifactId>okhttp-urlconnection</artifactId>
<version>${okhttp3.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>${okhttp3.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
Expand Down

0 comments on commit a7b274b

Please sign in to comment.