This is an automated email from the ASF dual-hosted git repository.

mattyb149 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 7dfbf99  NIFI-9527 Upgraded snappy-java to 1.1.8.4
7dfbf99 is described below

commit 7dfbf99d5f2ab0d05e4ee524718f1107a7bc7eda
Author: exceptionfactory <[email protected]>
AuthorDate: Thu Feb 10 20:04:53 2022 -0600

    NIFI-9527 Upgraded snappy-java to 1.1.8.4
    
    - Set managed version in root Maven configuration
    
    Signed-off-by: Matthew Burgess <[email protected]>
    
    This closes #5760
---
 nifi-nar-bundles/nifi-standard-bundle/pom.xml | 5 -----
 pom.xml                                       | 6 ++++++
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/nifi-nar-bundles/nifi-standard-bundle/pom.xml 
b/nifi-nar-bundles/nifi-standard-bundle/pom.xml
index f8a0fdc..a9f716e 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/pom.xml
+++ b/nifi-nar-bundles/nifi-standard-bundle/pom.xml
@@ -271,11 +271,6 @@
                 <version>0.9.0</version>
             </dependency>
             <dependency>
-                <groupId>org.xerial.snappy</groupId>
-                <artifactId>snappy-java</artifactId>
-                <version>1.1.7.3</version>
-            </dependency>
-            <dependency>
                 <groupId>com.h2database</groupId>
                 <artifactId>h2</artifactId>
                 <version>1.4.187</version>
diff --git a/pom.xml b/pom.xml
index ff527c3..bf4eb3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -493,6 +493,12 @@
                 <artifactId>aspectjweaver</artifactId>
                 <version>${aspectj.version}</version>
             </dependency>
+            <!-- Set snappy-java version for compatibility across multiple 
Java versions -->
+            <dependency>
+                <groupId>org.xerial.snappy</groupId>
+                <artifactId>snappy-java</artifactId>
+                <version>1.1.8.4</version>
+            </dependency>
             <!-- Override Log4j 2 libraries for transitive dependencies -->
             <dependency>
                 <groupId>org.apache.logging.log4j</groupId>

Reply via email to