Skip to content

Commit

Permalink
fix: exclude unreachable dependencies (#512)
Browse files Browse the repository at this point in the history
For #507

GoogleCloudPlatform/cloud-opensource-java#2073
shows MaximumLinkageErrorsTest failing due to missing xerces-impl
artifact. Explicitly excluding the dependencies that touch xerces-impl
resolves the issue.

Note that even after these exclusions, MaximumLinkageErrorsTest
fails due to new linkage errors.
  • Loading branch information
suztomo committed Jun 1, 2021
1 parent 2cdab8a commit 8b69577
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jdbc/sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>9.3.1.jre8-preview</version>
<exclusions>
<exclusion>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.cloud.sql</groupId>
Expand Down
6 changes: 6 additions & 0 deletions r2dbc/mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<artifactId>r2dbc-mysql</artifactId>
<version>0.8.2.RELEASE</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.cloud.sql</groupId>
Expand Down
6 changes: 6 additions & 0 deletions r2dbc/postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<artifactId>r2dbc-postgresql</artifactId>
<version>0.8.8.RELEASE</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.cloud.sql</groupId>
Expand Down
6 changes: 6 additions & 0 deletions r2dbc/sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
<artifactId>r2dbc-mssql</artifactId>
<version>0.8.6.RELEASE</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.cloud.sql</groupId>
Expand Down

0 comments on commit 8b69577

Please sign in to comment.