Skip to content

Commit

Permalink
Remove commons compression at project level. (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktooth authored May 17, 2024
1 parent 8596e42 commit 2c79afe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
5 changes: 0 additions & 5 deletions avro-flink-serde/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.21</version>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
Expand Down
4 changes: 0 additions & 4 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
<mbknor.jsonschema.converter.version>1.0.39</mbknor.jsonschema.converter.version>
<everit.json.schema.version>1.14.2</everit.json.schema.version>
<classgraph.version>4.8.120</classgraph.version>
<commons.compress.version>1.21</commons.compress.version>
<commons.lang.version>3.8.1</commons.lang.version>
<jackson.version>2.12.2</jackson.version>
<!-- Protobuf -->
Expand Down Expand Up @@ -168,12 +167,18 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>${avro.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Temporarily adding dependency on a transitive dependency to fix security bug in underlying library. Remove when dependency is upgraded. -->
<!-- Exclude commons-compress globally due to vulns -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${commons.compress.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
Expand Down

0 comments on commit 2c79afe

Please sign in to comment.