Skip to content

Commit 18e2c1a

Browse files
committed
put the execution in the "dist" profile
1 parent 53b6e9d commit 18e2c1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

druid/stackable/patches/30.0.0/10-cve-2023-34455-rm-snappy.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ is then also downloaded even though a newer version is already on the system.
1010
This patch removes the vulnerable jars.
1111

1212
diff --git a/distribution/pom.xml b/distribution/pom.xml
13-
index d5918710ef..cc2d88441c 100644
13+
index d5918710ef..2d5bfc6ab4 100644
1414
--- a/distribution/pom.xml
1515
+++ b/distribution/pom.xml
16-
@@ -594,6 +594,20 @@
16+
@@ -259,6 +259,20 @@
1717
</arguments>
1818
</configuration>
1919
</execution>
@@ -24,7 +24,7 @@ index d5918710ef..cc2d88441c 100644
2424
+ <goal>exec</goal>
2525
+ </goals>
2626
+ <configuration>
27-
+ <executable>rm</executable>
27+
+ <executable>/usr/bin/rm</executable>
2828
+ <arguments>
2929
+ <argument>${project.build.directory}/hadoop-dependencies/hadoop-client-api/3.3.6/snappy-java-1.1.8.2.jar</argument>
3030
+ <argument>${project.build.directory}/hadoop-dependencies/hadoop-client-runtime/3.3.6/snappy-java-1.1.8.2.jar</argument>

0 commit comments

Comments
 (0)