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

lukaszlenart pushed a commit to branch WW-5632-fileupload2-milestone-hardening
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 73d25a5d2589efc40c6879f594af9d0644b36f59
Author: Lukasz Lenart <[email protected]>
AuthorDate: Wed Jun 10 13:22:57 2026 +0200

    WW-5632 build(deps): manage commons-fileupload2-core alongside 
jakarta-servlet6
    
    Pin both commons-fileupload2 artifacts to a single
    commons-fileupload2.version property so the volatile -core API can no
    longer skew from -jakarta-servlet6 in the reactor.
    
    Co-Authored-By: Claude Opus 4.8 <[email protected]>
---
 parent/pom.xml | 7 ++++++-
 pom.xml        | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 74325b8ba..b5f2e4a30 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -125,10 +125,15 @@
                 <artifactId>commons-collections4</artifactId>
                 <version>4.5.0</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-fileupload2-core</artifactId>
+                <version>${commons-fileupload2.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.apache.commons</groupId>
                 <artifactId>commons-fileupload2-jakarta-servlet6</artifactId>
-                <version>2.0.0-M5</version>
+                <version>${commons-fileupload2.version}</version>
             </dependency>
             <dependency>
                 <groupId>commons-io</groupId>
diff --git a/pom.xml b/pom.xml
index 2c4b9ade6..171b8b421 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,6 +116,7 @@
         <!-- dependency versions in alphanumeric order -->
         <asm.version>9.10.1</asm.version>
         <byte-buddy.version>1.18.8</byte-buddy.version>
+        <commons-fileupload2.version>2.0.0-M5</commons-fileupload2.version>
         <freemarker.version>2.3.34</freemarker.version>
         <hibernate-validator.version>8.0.2.Final</hibernate-validator.version>
         <jackson.version>2.21.3</jackson.version>

Reply via email to