From fbc71b95f32cca3deca12874fcdd6b0ce42362e3 Mon Sep 17 00:00:00 2001 From: Damian Ujma <92095156+damianujma@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:57:50 +0200 Subject: [PATCH] ACS-8298 Bump bouncycastle, commons-io, poi, tika, apache-compress, xmlbeans (#2797) * ACS-8298 Bump bouncycastle, commons-lang3, commons-io, commons-compress, xmlbeans, tika, poi * ACS-8298 Bump commons-compress to 1.26.2 * ACS-8298 Add commons-compress to tas-restapi * ACS-8298 Exclude commons-lang3 * ACS-8298 Remove exclusion --- data-model/pom.xml | 4 ---- packaging/tests/tas-restapi/pom.xml | 6 ++++++ pom.xml | 16 ++++++++-------- repository/pom.xml | 4 ++-- .../bundle/VirtualNodeServiceExtension.java | 6 +++--- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/data-model/pom.xml b/data-model/pom.xml index 8aea4166013..86961070b76 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -237,10 +237,6 @@ tika-parsers-standard-package ${dependency.tika.version} - - org.bouncycastle - bcprov-jdk15on - asm asm diff --git a/packaging/tests/tas-restapi/pom.xml b/packaging/tests/tas-restapi/pom.xml index 6dffbc554a9..7fd4aa0df0c 100644 --- a/packaging/tests/tas-restapi/pom.xml +++ b/packaging/tests/tas-restapi/pom.xml @@ -23,6 +23,7 @@ ${project.basedir}/src/test/resources/restapi-suite.xml + 3.14.0 @@ -47,6 +48,11 @@ + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + org.alfresco.tas restapi diff --git a/pom.xml b/pom.xml index abf68e4df38..68474e35d03 100644 --- a/pom.xml +++ b/pom.xml @@ -62,12 +62,12 @@ 3.5.5 1.0.0 8.50 - 1.70 + 1.78.1 4.6.1 3.23.1 20231013 2.9.0 - 2.11.0 + 2.16.1 2.8.9 33.1.0-jre 4.5.13 @@ -77,10 +77,10 @@ 2.0.1 0.17 3.0.12 - 2.4.1 + 2.9.2 5.8.11 7.7.10 - 5.2.2 + 5.2.5 5.2.3 18.0.0 3.5.0.Final @@ -89,7 +89,7 @@ 4.1.82.Final 2.0.56.Final 5.17.6 - 1.21 + 1.26.2 1.2.5 4.2.0 3.38.0 @@ -419,7 +419,7 @@ org.apache.xmlbeans xmlbeans - 5.1.1 + 5.2.1 org.json @@ -618,12 +618,12 @@ org.bouncycastle - bcprov-jdk15on + bcprov-jdk18on ${dependency.bouncycastle.version} org.bouncycastle - bcmail-jdk15on + bcmail-jdk18on ${dependency.bouncycastle.version} diff --git a/repository/pom.xml b/repository/pom.xml index ef7a99b7d25..3c459fea46a 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -91,7 +91,7 @@ org.apache.commons commons-lang3 - 3.12.0 + 3.14.0 commons-codec @@ -248,7 +248,7 @@ org.bouncycastle - bcprov-jdk15on + bcprov-jdk18on net.sf diff --git a/repository/src/main/java/org/alfresco/repo/virtual/bundle/VirtualNodeServiceExtension.java b/repository/src/main/java/org/alfresco/repo/virtual/bundle/VirtualNodeServiceExtension.java index 1cf368d1f1d..bcf2381326c 100644 --- a/repository/src/main/java/org/alfresco/repo/virtual/bundle/VirtualNodeServiceExtension.java +++ b/repository/src/main/java/org/alfresco/repo/virtual/bundle/VirtualNodeServiceExtension.java @@ -26,8 +26,8 @@ package org.alfresco.repo.virtual.bundle; -import java.io.IOException; import java.io.Serializable; +import java.io.UncheckedIOException; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; @@ -910,7 +910,7 @@ private List getDownloadTargetAssocs(NodeRef sourceNodeRef) return result; } - catch (IOException e) + catch (UncheckedIOException e) { throw new VirtualizationException(e); } @@ -968,7 +968,7 @@ private void createDownloadAssociation(NodeRef sourceNodeRef, NodeRef targetRef) } writer.putContent(text); } - catch (IOException e) + catch (UncheckedIOException e) { throw new ActualEnvironmentException(e); }