Skip to content
Snippets Groups Projects
Unverified Commit e5a3827e authored by dpsutton's avatar dpsutton Committed by GitHub
Browse files

Exclude javax.annotation/javax.annotation-api (#46546)

dep is brought in by google cloud

From `clj -X:deps tree :aliases '[:ee :drivers]'`

```
  . metabase/bigquery-cloud-sdk metabase/modules/drivers/bigquery-cloud-sdk
    . com.google.cloud/google-cloud-bigquery 2.38.1
      . com.google.cloud/google-cloud-core 2.35.0
      [...]
      . javax.annotation/javax.annotation-api 1.3.2
```

Before this change:

```
❯ clj -X:deps tree :aliases '[:ee :drivers]' | grep 'javax.annotation/javax.annotation-api'
      . javax.annotation/javax.annotation-api 1.3.2
```

After:

```
❯ clj -X:deps tree :aliases '[:ee :drivers]' > deps-master

❯ echo $?
0
```
parent f4e6024c
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,10 @@
:deps
;; TODO: figure out how to be able to leave off this version string and use the version from the BOM
{com.google.cloud/google-cloud-bigquery {:mvn/version "2.38.1"}
{com.google.cloud/google-cloud-bigquery {:mvn/version "2.38.1"
;; this appears to be dual licensed EPL, GPL2.0 but it's not super
;; clear so we're excluding it
:exclusions [javax.annotation/javax.annotation-api]}
com.google.guava/guava {:mvn/version "33.1.0-jre"} ; specified separately so that Snyk is happy
com.google.code.gson/gson {:mvn/version "2.10.1"}
com.google.oauth-client/google-oauth-client {:mvn/version "1.35.0"}}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment