From 27271b96f15f68a686cd0aeeda980a0b30d175a0 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Mon, 6 Apr 2026 14:57:30 +0700 Subject: [PATCH 01/19] IGNITE-28462 Upgrade central Maven plugin versions --- parent/pom.xml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index bba4e3ac078d8..828e2f6b9da91 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -96,9 +96,9 @@ 7.4.0_1 8.11.2 1.10.1 - 3.5.1 - 3.1.2 - 1.7.1 + 6.0.0 + 3.6.0 + 1.7.3 pom-installed.xml 3.8.9 8.45 @@ -108,7 +108,7 @@ 2.0.17 1.1.10.7 5.3.39 - 3.1.2 + 3.5.4 10.0.27 0.8.3 3.9.5 @@ -119,9 +119,7 @@ 1.4.17 - 3.6.3 - 3.6.2 - + 3.12.0 apache https://sonarcloud.io **/generated/**/* @@ -262,7 +260,7 @@ net.alchim31.maven scala-maven-plugin - 3.3.2 + 4.9.9 -Xms512m @@ -476,7 +474,7 @@ org.apache.maven.plugins maven-resources-plugin - 3.2.0 + 3.4.0 @@ -501,13 +499,13 @@ org.apache.maven.plugins maven-antrun-plugin - 1.8 + 3.2.0 org.codehaus.mojo exec-maven-plugin - 1.3.2 + 3.6.3 ${project.groupId} @@ -575,7 +573,7 @@ org.apache.maven.plugins maven-source-plugin - 2.2.1 + 3.4.0 source @@ -624,7 +622,7 @@ org.apache.maven.plugins maven-enforcer-plugin - ${maven.enforcer.plugin.version} + 3.6.2 @@ -1084,7 +1082,6 @@ --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.logging/java.util.logging=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED From 64b1274f338cbbb6385a7a0b282c54a7593c3c01 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Mon, 6 Apr 2026 15:45:17 +0700 Subject: [PATCH 02/19] IGNITE-28462 Upgrade Maven plugin versions in auxiliary modules --- docs/_docs/code-snippets/java/pom.xml | 6 +++--- modules/benchmarks/pom.xml | 18 +++++++++--------- modules/checkstyle/pom.xml | 4 ++-- modules/tools/pom.xml | 6 +++--- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/_docs/code-snippets/java/pom.xml b/docs/_docs/code-snippets/java/pom.xml index dcdd2daa8d541..3a152c4edbad7 100644 --- a/docs/_docs/code-snippets/java/pom.xml +++ b/docs/_docs/code-snippets/java/pom.xml @@ -101,7 +101,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.14.1 1.8 1.8 @@ -109,7 +109,7 @@ maven-surefire-plugin - 2.22.2 + 3.5.4 **/*.java @@ -118,7 +118,7 @@ maven-failsafe-plugin - 2.22.2 + 3.5.4 diff --git a/modules/benchmarks/pom.xml b/modules/benchmarks/pom.xml index b7c15dab10efd..bcbe2f29b716e 100644 --- a/modules/benchmarks/pom.xml +++ b/modules/benchmarks/pom.xml @@ -117,7 +117,7 @@ org.apache.maven.plugins maven-shade-plugin - 2.2 + 3.6.1 org.apache.maven.plugins @@ -131,19 +131,19 @@ maven-clean-plugin - 2.5 + 3.5.0 maven-deploy-plugin - 2.8.1 + 3.1.4 maven-install-plugin - 2.5.1 + 3.1.4 maven-jar-plugin - 2.4 + 3.5.0 maven-javadoc-plugin @@ -151,19 +151,19 @@ maven-resources-plugin - 2.6 + 3.4.0 maven-site-plugin - 3.3 + 3.21.0 maven-source-plugin - 2.2.1 + 3.4.0 maven-surefire-plugin - 2.20.1 + 3.5.4 diff --git a/modules/checkstyle/pom.xml b/modules/checkstyle/pom.xml index e9df508336c7e..589a354960cab 100644 --- a/modules/checkstyle/pom.xml +++ b/modules/checkstyle/pom.xml @@ -93,7 +93,7 @@ org.apache.maven.plugins maven-resources-plugin - 3.2.0 + 3.4.0 copy-checkstyle-config @@ -117,7 +117,7 @@ org.codehaus.mojo flatten-maven-plugin - 1.7.1 + 1.7.3 diff --git a/modules/tools/pom.xml b/modules/tools/pom.xml index 8d4673070f032..0a876ae3887e1 100644 --- a/modules/tools/pom.xml +++ b/modules/tools/pom.xml @@ -66,7 +66,7 @@ maven-resources-plugin - 3.2.0 + 3.4.0 copy-resources @@ -105,7 +105,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.0.0 + 3.6.1 add-source @@ -125,7 +125,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false From a0e67a75c09cd2734447d734ef9585991b8edfc0 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Mon, 6 Apr 2026 16:20:15 +0700 Subject: [PATCH 03/19] IGNITE-28462: Upgrade module-specific Maven plugins --- modules/calcite/pom.xml | 2 +- modules/clients/pom.xml | 4 ++-- modules/dev-utils/pom.xml | 4 ++-- modules/numa-allocator/pom.xml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/calcite/pom.xml b/modules/calcite/pom.xml index 538997e72418d..71aba03693387 100644 --- a/modules/calcite/pom.xml +++ b/modules/calcite/pom.xml @@ -256,7 +256,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/clients/pom.xml b/modules/clients/pom.xml index 851c763fd3228..90a3fd33403a9 100644 --- a/modules/clients/pom.xml +++ b/modules/clients/pom.xml @@ -145,7 +145,7 @@ org.apache.maven.plugins maven-jar-plugin - 2.2 + 3.5.0 @@ -158,7 +158,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/dev-utils/pom.xml b/modules/dev-utils/pom.xml index c51ccdc9e29e3..1b83da274ee1f 100644 --- a/modules/dev-utils/pom.xml +++ b/modules/dev-utils/pom.xml @@ -79,7 +79,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 true @@ -88,7 +88,7 @@ org.apache.maven.plugins maven-assembly-plugin - 2.4.1 + 3.8.0 jar-with-dependencies diff --git a/modules/numa-allocator/pom.xml b/modules/numa-allocator/pom.xml index ab9f53bbf2b63..31a16223988e8 100644 --- a/modules/numa-allocator/pom.xml +++ b/modules/numa-allocator/pom.xml @@ -198,7 +198,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false From 8340dc70c1cbcd1c3be41c64f71bd744c2212b24 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Wed, 15 Apr 2026 19:43:37 +0700 Subject: [PATCH 04/19] IGNITE-28462: Complete remaining Maven plugin upgrades --- parent/pom.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 828e2f6b9da91..051e13ce1e278 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -120,6 +120,8 @@ 3.12.0 + 3.6.2 + apache https://sonarcloud.io **/generated/**/* @@ -622,7 +624,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.6.2 + ${maven.enforcer.plugin.version} @@ -1082,6 +1084,7 @@ --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED + --add-opens=java.logging/java.util.logging=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED From 7d05ef4391bd67407796d9626971e360af66c0f4 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Mon, 6 Apr 2026 17:34:56 +0700 Subject: [PATCH 05/19] IGNITE-28462: Complete remaining Maven plugin upgrades --- modules/binary/api/pom.xml | 2 +- modules/binary/impl/pom.xml | 2 +- modules/commons/pom.xml | 2 +- modules/compatibility/pom.xml | 2 +- modules/compress/pom.xml | 9 ++++++++- modules/control-utility/pom.xml | 2 +- modules/core/pom.xml | 8 ++++---- modules/direct-io/pom.xml | 2 +- modules/extdata/pluggable/pom.xml | 2 +- modules/extdata/uri/pom.xml | 2 +- modules/indexing/pom.xml | 2 +- modules/jcl/pom.xml | 2 +- modules/json/pom.xml | 2 +- modules/jta/pom.xml | 2 +- modules/kubernetes/pom.xml | 2 +- modules/log4j2/pom.xml | 2 +- modules/opencensus/pom.xml | 2 +- modules/rest-http/pom.xml | 2 +- modules/slf4j/pom.xml | 2 +- modules/spring/pom.xml | 2 +- modules/sqlline/pom.xml | 2 +- modules/unsafe/pom.xml | 2 +- modules/urideploy/pom.xml | 2 +- modules/web/ignite-websphere-test/pom.xml | 2 +- modules/web/pom.xml | 2 +- modules/yardstick/pom-standalone.xml | 4 ++-- modules/yardstick/pom.xml | 8 ++++---- modules/zookeeper/pom.xml | 2 +- parent-internal/pom.xml | 2 +- parent/pom.xml | 8 ++++---- pom.xml | 20 +++++++++++++++++++- 31 files changed, 66 insertions(+), 41 deletions(-) diff --git a/modules/binary/api/pom.xml b/modules/binary/api/pom.xml index 65d79c7a212b5..24357dd88859a 100644 --- a/modules/binary/api/pom.xml +++ b/modules/binary/api/pom.xml @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/binary/impl/pom.xml b/modules/binary/impl/pom.xml index b56dbf5b73939..c18d5079f279c 100644 --- a/modules/binary/impl/pom.xml +++ b/modules/binary/impl/pom.xml @@ -65,7 +65,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/commons/pom.xml b/modules/commons/pom.xml index 92373097f4712..483bf5eff4d99 100644 --- a/modules/commons/pom.xml +++ b/modules/commons/pom.xml @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/compatibility/pom.xml b/modules/compatibility/pom.xml index b1b95ec960cba..83f6d1b1a30ae 100644 --- a/modules/compatibility/pom.xml +++ b/modules/compatibility/pom.xml @@ -138,7 +138,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/compress/pom.xml b/modules/compress/pom.xml index b9250b7dc8d14..8217b06925539 100644 --- a/modules/compress/pom.xml +++ b/modules/compress/pom.xml @@ -137,6 +137,13 @@ ${commons.lang3.version} test + + + commons-io + commons-io + ${commons.io.version} + test + @@ -171,7 +178,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/control-utility/pom.xml b/modules/control-utility/pom.xml index 51b9abc812337..d367dc56c051a 100644 --- a/modules/control-utility/pom.xml +++ b/modules/control-utility/pom.xml @@ -165,7 +165,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/core/pom.xml b/modules/core/pom.xml index ccb994b73a74b..e5aeda213ddba 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -328,7 +328,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false @@ -337,7 +337,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.6.0 + 3.6.1 package @@ -363,7 +363,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.4.0 + 3.6.1 add-generated-sources @@ -546,7 +546,7 @@ org.apache.maven.plugins maven-dependency-plugin - 2.8 + 3.9.0 diff --git a/modules/direct-io/pom.xml b/modules/direct-io/pom.xml index 9700fe802ec60..8e077d1b2573c 100644 --- a/modules/direct-io/pom.xml +++ b/modules/direct-io/pom.xml @@ -134,7 +134,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/extdata/pluggable/pom.xml b/modules/extdata/pluggable/pom.xml index fa93410f4bc39..79b50b2eed95c 100644 --- a/modules/extdata/pluggable/pom.xml +++ b/modules/extdata/pluggable/pom.xml @@ -114,7 +114,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 true diff --git a/modules/extdata/uri/pom.xml b/modules/extdata/uri/pom.xml index a146b11b123d7..4b165a874098c 100644 --- a/modules/extdata/uri/pom.xml +++ b/modules/extdata/uri/pom.xml @@ -205,7 +205,7 @@ org.apache.maven.plugins maven-jarsigner-plugin - 3.0.0 + 3.1.0 sign-well diff --git a/modules/indexing/pom.xml b/modules/indexing/pom.xml index e6a2554d56e57..8513de3f4d648 100644 --- a/modules/indexing/pom.xml +++ b/modules/indexing/pom.xml @@ -197,7 +197,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/jcl/pom.xml b/modules/jcl/pom.xml index f948eecade021..5eedf9178128f 100644 --- a/modules/jcl/pom.xml +++ b/modules/jcl/pom.xml @@ -65,7 +65,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/json/pom.xml b/modules/json/pom.xml index b0e218dc37bcb..d4563c13e2070 100644 --- a/modules/json/pom.xml +++ b/modules/json/pom.xml @@ -88,7 +88,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/jta/pom.xml b/modules/jta/pom.xml index 1346a1e9765e0..2214111578971 100644 --- a/modules/jta/pom.xml +++ b/modules/jta/pom.xml @@ -128,7 +128,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/kubernetes/pom.xml b/modules/kubernetes/pom.xml index 0f6e115b65c61..e7da524627118 100644 --- a/modules/kubernetes/pom.xml +++ b/modules/kubernetes/pom.xml @@ -118,7 +118,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/log4j2/pom.xml b/modules/log4j2/pom.xml index 2cba3ad2291ed..631a063502693 100644 --- a/modules/log4j2/pom.xml +++ b/modules/log4j2/pom.xml @@ -69,7 +69,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/opencensus/pom.xml b/modules/opencensus/pom.xml index 9c0abe958e195..e90b48a48e1cc 100644 --- a/modules/opencensus/pom.xml +++ b/modules/opencensus/pom.xml @@ -147,7 +147,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/rest-http/pom.xml b/modules/rest-http/pom.xml index f6f86b1ae3bed..7bf492fa717dc 100644 --- a/modules/rest-http/pom.xml +++ b/modules/rest-http/pom.xml @@ -132,7 +132,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/slf4j/pom.xml b/modules/slf4j/pom.xml index 69e4917ee7517..135fee9b0f3f9 100644 --- a/modules/slf4j/pom.xml +++ b/modules/slf4j/pom.xml @@ -76,7 +76,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/spring/pom.xml b/modules/spring/pom.xml index a8c11444928ec..89325cf88ba69 100644 --- a/modules/spring/pom.xml +++ b/modules/spring/pom.xml @@ -140,7 +140,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/sqlline/pom.xml b/modules/sqlline/pom.xml index bc43c6a241b6a..7c166f41bd0e5 100644 --- a/modules/sqlline/pom.xml +++ b/modules/sqlline/pom.xml @@ -67,7 +67,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 true diff --git a/modules/unsafe/pom.xml b/modules/unsafe/pom.xml index d5ddf75a6059a..8a71076d68fb6 100644 --- a/modules/unsafe/pom.xml +++ b/modules/unsafe/pom.xml @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/urideploy/pom.xml b/modules/urideploy/pom.xml index 8927c9d5b4b1a..a33c01d7ff80d 100644 --- a/modules/urideploy/pom.xml +++ b/modules/urideploy/pom.xml @@ -154,7 +154,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/web/ignite-websphere-test/pom.xml b/modules/web/ignite-websphere-test/pom.xml index 12027ded655aa..e317911b254bf 100644 --- a/modules/web/ignite-websphere-test/pom.xml +++ b/modules/web/ignite-websphere-test/pom.xml @@ -66,7 +66,7 @@ org.apache.maven.plugins maven-war-plugin - 3.2.2 + 3.5.1 diff --git a/modules/web/pom.xml b/modules/web/pom.xml index f5e12069f834b..f6856e0e58f19 100644 --- a/modules/web/pom.xml +++ b/modules/web/pom.xml @@ -103,7 +103,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/modules/yardstick/pom-standalone.xml b/modules/yardstick/pom-standalone.xml index c667650c325ab..eb8fc763d465f 100644 --- a/modules/yardstick/pom-standalone.xml +++ b/modules/yardstick/pom-standalone.xml @@ -129,7 +129,7 @@ maven-dependency-plugin - 2.8 + 3.9.0 package @@ -205,7 +205,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 true diff --git a/modules/yardstick/pom.xml b/modules/yardstick/pom.xml index d6818b52eef17..a30c6332400d2 100644 --- a/modules/yardstick/pom.xml +++ b/modules/yardstick/pom.xml @@ -125,7 +125,7 @@ com.mycila license-maven-plugin - 2.8 + 5.0.0 true @@ -133,7 +133,7 @@ maven-dependency-plugin - 2.8 + 3.9.0 package @@ -170,7 +170,7 @@ org.apache.maven.plugins maven-jar-plugin - 2.4 + 3.5.0 ${basedir}/target/assembly/libs @@ -208,7 +208,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 true diff --git a/modules/zookeeper/pom.xml b/modules/zookeeper/pom.xml index 7f0b6003755cb..e84442192c790 100644 --- a/modules/zookeeper/pom.xml +++ b/modules/zookeeper/pom.xml @@ -229,7 +229,7 @@ org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.4 false diff --git a/parent-internal/pom.xml b/parent-internal/pom.xml index f2128baf52cf5..2d802e6a236c7 100644 --- a/parent-internal/pom.xml +++ b/parent-internal/pom.xml @@ -62,7 +62,7 @@ org.apache.maven.plugins maven-antrun-plugin - 1.8 + 3.2.0 ${project.groupId} diff --git a/parent/pom.xml b/parent/pom.xml index 051e13ce1e278..bc2021aff25ee 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -96,7 +96,7 @@ 7.4.0_1 8.11.2 1.10.1 - 6.0.0 + 5.1.9 3.6.0 1.7.3 pom-installed.xml @@ -482,7 +482,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.0.0 + 3.6.1 @@ -935,7 +935,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.14.1 --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED @@ -1022,7 +1022,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.14.1 --add-exports diff --git a/pom.xml b/pom.xml index 02103bcccd055..829dc7e4f0ac4 100644 --- a/pom.xml +++ b/pom.xml @@ -112,6 +112,24 @@ javadoc + + org.codehaus.mojo + build-helper-maven-plugin + 3.6.1 + + + timestamp-property + + timestamp-property + + validate + + current.year + yyyy + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -402,7 +420,7 @@ org.apache.maven.plugins maven-assembly-plugin - 2.4 + 3.8.0 false From e2745a3c5625da1e39fd2d03bcae2f6fcc4ec17a Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Thu, 16 Apr 2026 17:17:56 +0700 Subject: [PATCH 06/19] IGNITE-28462: Fix javadoc warnings --- .../src/main/java/org/apache/ignite/IgniteClientSpringBean.java | 2 +- .../src/main/java/org/apache/ignite/IgniteSpringBean.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/spring/src/main/java/org/apache/ignite/IgniteClientSpringBean.java b/modules/spring/src/main/java/org/apache/ignite/IgniteClientSpringBean.java index ae98397bfbb04..458cf287a7295 100644 --- a/modules/spring/src/main/java/org/apache/ignite/IgniteClientSpringBean.java +++ b/modules/spring/src/main/java/org/apache/ignite/IgniteClientSpringBean.java @@ -49,7 +49,7 @@ * A note should be taken that Ignite client instance is started after all other * Spring beans have been initialized and right before Spring context is refreshed. * That implies that it's not valid to reference {@link IgniteClientSpringBean} from - * any kind of Spring bean init methods like {@link javax.annotation.PostConstruct}. + * any kind of Spring bean init methods like {@code @PostConstruct}. * If it's required to reference {@link IgniteClientSpringBean} for other bean * initialization purposes, it should be done from a {@link ContextRefreshedEvent} * listener method declared in that bean. diff --git a/modules/spring/src/main/java/org/apache/ignite/IgniteSpringBean.java b/modules/spring/src/main/java/org/apache/ignite/IgniteSpringBean.java index 07934a8dc164a..886b9c62bd446 100644 --- a/modules/spring/src/main/java/org/apache/ignite/IgniteSpringBean.java +++ b/modules/spring/src/main/java/org/apache/ignite/IgniteSpringBean.java @@ -62,7 +62,7 @@ * A note should be taken that Ignite instance is started after all other * Spring beans have been initialized and right before Spring context is refreshed. * That implies that it's not valid to reference IgniteSpringBean from - * any kind of Spring bean init methods like {@link javax.annotation.PostConstruct}. + * any kind of Spring bean init methods like {@code @PostConstruct}. * If it's required to reference IgniteSpringBean for other bean * initialization purposes, it should be done from a {@link ContextRefreshedEvent} * listener method declared in that bean. From 3ad83fddf9add85e79a3b25db7fd4e553fd2241b Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Fri, 17 Apr 2026 15:30:29 +0700 Subject: [PATCH 07/19] IGNITE-28462: Fix compatibility test runtime dependency on commons-io --- modules/compatibility/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/compatibility/pom.xml b/modules/compatibility/pom.xml index 83f6d1b1a30ae..15abb91757dcd 100644 --- a/modules/compatibility/pom.xml +++ b/modules/compatibility/pom.xml @@ -110,6 +110,13 @@ test + + commons-io + commons-io + ${commons.io.version} + test + + From 6ec70f9fe58cfee9f3cfe890918a35c0b68fccfe Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Mon, 20 Apr 2026 17:35:13 +0700 Subject: [PATCH 08/19] IGNITE-28462: Fix test failures caused by Maven plugin upgrades --- .../ignite/internal/binary/BinaryContext.java | 6 ++-- ...CacheObjectCompressionConsumptionTest.java | 34 +++++++++++++++++-- .../junits/multijvm/JavaVersionCommand.java | 8 +++-- 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java b/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java index ac3cc172814d2..9c06bfbaa1c6e 100644 --- a/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java +++ b/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java @@ -490,7 +490,8 @@ private static Iterable classesInPackage(String pkgName) { for (File file : pkgDir.listFiles()) { String fileName = file.getName(); - if (file.isFile() && fileName.toLowerCase().endsWith(".class")) + if (file.isFile() && fileName.toLowerCase().endsWith(".class") + && !fileName.equals("package-info.class")) clsNames.add(pkgName + '.' + fileName.substring(0, fileName.length() - 6)); } } @@ -507,7 +508,8 @@ else if (cpElement.isFile()) { if (entry.startsWith(pkgPath) && entry.endsWith(".class")) { String clsName = entry.substring(pkgPath.length() + 1, entry.length() - 6); - if (!clsName.contains("/") && !clsName.contains("\\")) + if (!clsName.contains("/") && !clsName.contains("\\") + && !clsName.equals("package-info")) clsNames.add(pkgName + '.' + clsName); } } diff --git a/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java b/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java index ff05e7a205f62..7c650c38fb0fe 100644 --- a/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java +++ b/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java @@ -18,13 +18,18 @@ package org.apache.ignite.internal.processors.cache.transform; import java.io.File; +import java.io.IOException; +import java.nio.file.FileVisitResult; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.SimpleFileVisitor; +import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Function; -import org.apache.commons.io.FileUtils; import org.apache.ignite.DataRegionMetrics; import org.apache.ignite.Ignite; import org.apache.ignite.IgniteCache; @@ -363,7 +368,7 @@ private Consumption doTest(int cnt, Function keyGen, Function() { + @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { + size[0] += attrs.size(); + + return FileVisitResult.CONTINUE; + } + + @Override public FileVisitResult visitFileFailed(Path file, IOException exc) { + // Ignore files that disappeared during traversal (e.g. checkpoint .tmp files). + return FileVisitResult.CONTINUE; + } + }); + + return size[0]; + } } diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java index e3a2fa919247d..5266232eb5181 100644 --- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java +++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java @@ -21,7 +21,6 @@ import java.io.IOException; import java.io.InputStream; import java.util.concurrent.TimeUnit; -import org.apache.commons.io.IOUtils; import org.apache.ignite.internal.util.GridJavaProcess; import static java.nio.charset.StandardCharsets.UTF_8; @@ -56,13 +55,16 @@ int majorVersion(String javaHome) throws IOException, InterruptedException { /** * Reads whole stream content and returns it as a string. UTF-8 is used to convert from bytes to string. * - * @param inputStream Stream to read. + * @param inputStream Stream to read. * @return Stream content as a string. * @throws IOException If something goes wrong. */ private String readStream(InputStream inputStream) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); - IOUtils.copy(inputStream, baos); + byte[] buf = new byte[4096]; + int len; + while ((len = inputStream.read(buf)) != -1) + baos.write(buf, 0, len); return new String(baos.toByteArray(), UTF_8); } } From 6b86b01fa2346821f33ab67a7fbdeb5fbf5078c4 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Tue, 21 Apr 2026 00:55:08 +0700 Subject: [PATCH 09/19] IGNITE-28462: Renew expired test keystore for URI deployment tests Previous keystore used 1024-bit DSA key expired in 2007. maven-jarsigner-plugin 3.1.0 enforces strict validation and rejects signing with weak/expired certificates. Replaced with RSA 2048-bit key valid for 10 years. --- .../extdata/uri/config/signeddeploy/keystore | Bin 1191 -> 2716 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/modules/extdata/uri/config/signeddeploy/keystore b/modules/extdata/uri/config/signeddeploy/keystore index dc51a0fcd22bb8108bd6804b388cca5c86be267c..412e5784ed7c994fcecb305687e1ce6ab9e79957 100644 GIT binary patch literal 2716 zcma)8XEYoN7M{vzQS*%Gy@nZHl&E2%M_Y_;l@UEgOQHl5Glq1Pu|&IyFc#v&i%^$`JIcvF+K$W!3Z3qE**mm!H{ss0;C7#;TV-5 zI7WpFS{8wWR{xg-Er8&lxfk^Fi^-y6`cI0P5eUk|L3J)j4TRUP1e66~k5K(JA_xbx&*DW|=~Ft3(2 zo`Rh;7d>CuG8Hs|m!Hfz8lR)$GAOX05mMKmdN*fb>gx7k&U6sIsN_@%pz3*Q;+D0o z0O;qso=uU$B59{*=_H7)hFd$1h2|4ogol&mSz5zn_0Y;LR-=a2oV_bv2c8we=Jo=P zfTLx>ZvqP?@&;C5($e~2K{htR5X*<3;5taGHK{WA{tpR1UDo(yuMu%bBAhU?0<gNyx&4Q{i%xkqQ$#(4IX3({|@0J&{Dz~ue3zgH)1i8A)Hz7r!Gdgj6@?ZKW-Qx)74>BWA?M-yREjtLDkmNnW)myR)O z{5D>0j_A~=aXO#Z;=3cGlBSgG$@VNLHP&KCK> zJx0BcvKoE<;61f9%_swOB&-xWr#rxy3NEAZd7R^l#29sqMM(^Pn6(_+$T#5*44FS9EZsv>WWFi%CY=LHCaqpS4(v9;`zuj;yJKA;rQtir znl(wux|5sJ>)9bRTH-REtUtVf)w^&Pdt?QEhf2vxh=CFk? zXSX%pmaX)`p5}Bc4*U@y_Gg*LZ>XuTpQq%{x!9GU%DE~}!c&e?Mhj`SoLW&`JC}wZ z_&E{$jvh@VOgVR_{YUD#wW*lZz*plh?r;iK7CT;IssJxuMG1VQ&QQh9;&63~Y2OsH zn;U02uaPid<9MyJb7;T{sLE9?WlK@UA)K=$C`tBrT?W{4IrQ^Rw`1x!W=w9`T6+;+ z2yO^&QU%ZpMP0xDN}J}mlp?2%k>IAujZf+%9zP*vj9N_0UgOxBo9*-KCiW|Lv4jUj z)*;&N*=9dX#4g^5RC-Hu5ww=pLEF;J3hY8O9wUxL9(NYq%=g=4bX6tyDTF^(T$tDS zz2iOCtaiug`zR0b>pW>CQBm8m-Irp^@8H22+5Rznuv_1ExqVvj-@8)9ZhP&UADl-+ z2}OZjMt?eh4w&^rdK>LZZeC|}F)wHN)*>3}O**=ht|i#AGI+Es=FK}xe#SD}oT#{Q zdP9QKmA>q-6J2NRvGtOZ)j?nVC6Rd#^9RqGoA#@#63Vh^X37yS;O+_j(`lo1I*Z`_ z>4&XBZ|4C|+E$f!lw)l!=JR1wW-l(XIz}T?RlYZ3M8EdN6jkl%80@-Xe0h!W+&&$Z z@-WcR0M0MJsbwOH(f`ek_j9 z9xvZ5c1p@lxZ$EA8Elz0B4Dz>fAxxw>t+wH9yg{yZ1$wU*ZIU^pv(H0ty0*88Hxt! z#1Mek_Ja@X{gp;R{b&sxz!z`c=Jj!s6krVJLeC5W?6#C)9SblwMARrU~5o)Vgw=t9i>mrB;?GP@{tX#L}4C~44O7|~!n?&|Y75^smuZsC6T>0Xg literal 1191 zcmezO_TO6u1_mY|W&~r7q|)Ndywu`ipa75EdiD|^-EYvu*loba#-+{1$ik?_B*@6f z%D~dZSpI9%1@^zw6AqgB?vcM%7}(W1c}}VlUqQQ6kj|;wcj9LK@_H4tW&P|A^Ynw+ z*e>h*7UeTo7|ao=ck1(l2+uiIJLe=d@%>QP7AE56)x7PYKC}AvORk}Z|HSM_tnASX z+I>p<(L5`*$JJJ9v5zw5dUfuTZQ)JWwfb1G_nI5CR~;07$YNFAxFmJir7vqlkpA{S-rNS^g&eav1^-uq${lPAJg-)*xwCnnN~+~w zxaY-HA`*H*C2(h}P3T>}>lwNG%nV+2yvR#muXe~lN3K7cd$Mj!Ms+yHYo-^UVjM31 zzAW6}+L?MYXuE0O_t5+D|8qqOXD!`Qy}v0;OqiQPWb;guw54X{>t`liZ&s~NsEC>N z?C}Z?E%~%d%UZZL^)Wr)lfVAy)IHj&f*Tu?d%VwGeI$1V98s(hdZq@Jz^FTK(8P2a zh&!2BTvl&HNGm>L=xo0ynJ0lDS|h6aXE zE_E$yV%z~tb~-T6FakO9OpT2Uf9r!AWlM!LgYJ9H(R=gc`8UDsK{oGQ7!J$XH*5=3 z%XE!(PzwAVY1l-NY0Z>68tX(wLSdjCm@S#s`0560t6 zq72g$0{TUjxzB8xw6kf^>lW@05i(yvPW%3FLF={Iw)al&Ssi1xBYbD&l=ZuRS-ood z8ScYv%ife87#ZHT>q?~mvqE-(#)d7PVui{td^E&_x1Z-U>N&COp^aEocSudI#)HM{ zWxs<|bR;puqU=Z@uW;$80+j``0{YTfn&c z^x+HsUp`7YuGtm7rFZ&{yvs+@?%(FRFB>sy<%Ag@44id1XX)LH6I3rb>6ZWS$j^<5 zNBn#*+(_3!{znJ1gly9LVL1ujh105z2 z|IX}xD}D;Hty;KSO!d&8m!DQ!w=;=k9mqP8+$Z-? Date: Mon, 4 May 2026 17:36:00 +0700 Subject: [PATCH 10/19] IGNITE-28462: Replace hardcoded plugin versions with properties --- modules/benchmarks/pom.xml | 18 +++++++++--------- modules/binary/api/pom.xml | 2 +- modules/binary/impl/pom.xml | 2 +- modules/calcite/pom.xml | 2 +- modules/clients/pom.xml | 4 ++-- modules/commons/pom.xml | 2 +- modules/compatibility/pom.xml | 2 +- modules/compress/pom.xml | 2 +- modules/control-utility/pom.xml | 2 +- modules/core/pom.xml | 8 ++++---- modules/dev-utils/pom.xml | 4 ++-- modules/direct-io/pom.xml | 2 +- modules/extdata/pluggable/pom.xml | 2 +- modules/extdata/uri/pom.xml | 2 +- modules/indexing/pom.xml | 2 +- modules/jcl/pom.xml | 2 +- modules/json/pom.xml | 2 +- modules/jta/pom.xml | 2 +- modules/kubernetes/pom.xml | 2 +- modules/log4j2/pom.xml | 2 +- modules/numa-allocator/pom.xml | 4 ++-- modules/opencensus/pom.xml | 2 +- modules/rest-http/pom.xml | 2 +- modules/slf4j/pom.xml | 2 +- modules/spring/pom.xml | 2 +- modules/sqlline/pom.xml | 2 +- modules/tools/pom.xml | 6 +++--- modules/unsafe/pom.xml | 2 +- modules/urideploy/pom.xml | 2 +- modules/web/pom.xml | 2 +- modules/yardstick/pom.xml | 6 +++--- modules/zookeeper/pom.xml | 2 +- parent/pom.xml | 26 +++++++++++++++++++++----- pom.xml | 4 ++-- 34 files changed, 73 insertions(+), 57 deletions(-) diff --git a/modules/benchmarks/pom.xml b/modules/benchmarks/pom.xml index bcbe2f29b716e..60bd3f0e768e3 100644 --- a/modules/benchmarks/pom.xml +++ b/modules/benchmarks/pom.xml @@ -117,7 +117,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.6.1 + ${maven.shade.plugin.version} org.apache.maven.plugins @@ -131,19 +131,19 @@ maven-clean-plugin - 3.5.0 + ${maven.clean.plugin.version} maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} maven-install-plugin - 3.1.4 + ${maven.install.plugin.version} maven-jar-plugin - 3.5.0 + ${maven.jar.plugin.version} maven-javadoc-plugin @@ -151,19 +151,19 @@ maven-resources-plugin - 3.4.0 + ${maven.resources.plugin.version} maven-site-plugin - 3.21.0 + ${maven.site.plugin.version} maven-source-plugin - 3.4.0 + ${maven.source.plugin.version} maven-surefire-plugin - 3.5.4 + ${maven.surefire.plugin.version} diff --git a/modules/binary/api/pom.xml b/modules/binary/api/pom.xml index 24357dd88859a..15076732e4b05 100644 --- a/modules/binary/api/pom.xml +++ b/modules/binary/api/pom.xml @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/binary/impl/pom.xml b/modules/binary/impl/pom.xml index c18d5079f279c..90e7a35a5a81b 100644 --- a/modules/binary/impl/pom.xml +++ b/modules/binary/impl/pom.xml @@ -65,7 +65,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/calcite/pom.xml b/modules/calcite/pom.xml index 71aba03693387..fb42c00c24094 100644 --- a/modules/calcite/pom.xml +++ b/modules/calcite/pom.xml @@ -256,7 +256,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/clients/pom.xml b/modules/clients/pom.xml index 90a3fd33403a9..e299873bba9ac 100644 --- a/modules/clients/pom.xml +++ b/modules/clients/pom.xml @@ -145,7 +145,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.5.0 + ${maven.jar.plugin.version} @@ -158,7 +158,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/commons/pom.xml b/modules/commons/pom.xml index 483bf5eff4d99..750ecbc601a52 100644 --- a/modules/commons/pom.xml +++ b/modules/commons/pom.xml @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/compatibility/pom.xml b/modules/compatibility/pom.xml index 15abb91757dcd..cd6bdf794dec6 100644 --- a/modules/compatibility/pom.xml +++ b/modules/compatibility/pom.xml @@ -145,7 +145,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/compress/pom.xml b/modules/compress/pom.xml index 8217b06925539..4801fdc558052 100644 --- a/modules/compress/pom.xml +++ b/modules/compress/pom.xml @@ -178,7 +178,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/control-utility/pom.xml b/modules/control-utility/pom.xml index d367dc56c051a..908ae4e97eca0 100644 --- a/modules/control-utility/pom.xml +++ b/modules/control-utility/pom.xml @@ -165,7 +165,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/core/pom.xml b/modules/core/pom.xml index e5aeda213ddba..8737f69637427 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -328,7 +328,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false @@ -337,7 +337,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.6.1 + ${maven.shade.plugin.version} package @@ -363,7 +363,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.6.1 + ${build.helper.maven.plugin.version} add-generated-sources @@ -546,7 +546,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.9.0 + ${maven.dependency.plugin.version} diff --git a/modules/dev-utils/pom.xml b/modules/dev-utils/pom.xml index 1b83da274ee1f..815baa3d38988 100644 --- a/modules/dev-utils/pom.xml +++ b/modules/dev-utils/pom.xml @@ -79,7 +79,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} true @@ -88,7 +88,7 @@ org.apache.maven.plugins maven-assembly-plugin - 3.8.0 + ${maven.assembly.plugin.version} jar-with-dependencies diff --git a/modules/direct-io/pom.xml b/modules/direct-io/pom.xml index 8e077d1b2573c..c66ba1db4c918 100644 --- a/modules/direct-io/pom.xml +++ b/modules/direct-io/pom.xml @@ -134,7 +134,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/extdata/pluggable/pom.xml b/modules/extdata/pluggable/pom.xml index 79b50b2eed95c..fa5306f52a301 100644 --- a/modules/extdata/pluggable/pom.xml +++ b/modules/extdata/pluggable/pom.xml @@ -114,7 +114,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} true diff --git a/modules/extdata/uri/pom.xml b/modules/extdata/uri/pom.xml index 4b165a874098c..28d0078a27e44 100644 --- a/modules/extdata/uri/pom.xml +++ b/modules/extdata/uri/pom.xml @@ -205,7 +205,7 @@ org.apache.maven.plugins maven-jarsigner-plugin - 3.1.0 + ${maven.jarsigner.plugin.version} sign-well diff --git a/modules/indexing/pom.xml b/modules/indexing/pom.xml index 8513de3f4d648..233621a939d3b 100644 --- a/modules/indexing/pom.xml +++ b/modules/indexing/pom.xml @@ -197,7 +197,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/jcl/pom.xml b/modules/jcl/pom.xml index 5eedf9178128f..1ccf7975bba14 100644 --- a/modules/jcl/pom.xml +++ b/modules/jcl/pom.xml @@ -65,7 +65,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/json/pom.xml b/modules/json/pom.xml index d4563c13e2070..ae3c28928a89a 100644 --- a/modules/json/pom.xml +++ b/modules/json/pom.xml @@ -88,7 +88,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/jta/pom.xml b/modules/jta/pom.xml index 2214111578971..5a031057f2aeb 100644 --- a/modules/jta/pom.xml +++ b/modules/jta/pom.xml @@ -128,7 +128,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/kubernetes/pom.xml b/modules/kubernetes/pom.xml index e7da524627118..94c8973edb74e 100644 --- a/modules/kubernetes/pom.xml +++ b/modules/kubernetes/pom.xml @@ -118,7 +118,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/log4j2/pom.xml b/modules/log4j2/pom.xml index 631a063502693..c5bfd3b33932b 100644 --- a/modules/log4j2/pom.xml +++ b/modules/log4j2/pom.xml @@ -69,7 +69,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/numa-allocator/pom.xml b/modules/numa-allocator/pom.xml index 31a16223988e8..8876e426c1765 100644 --- a/modules/numa-allocator/pom.xml +++ b/modules/numa-allocator/pom.xml @@ -106,7 +106,7 @@ com.googlecode.cmake-maven-project cmake-maven-plugin - 3.31.5-b1 + ${cmake.maven.plugin.version} cmake-generate @@ -198,7 +198,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/opencensus/pom.xml b/modules/opencensus/pom.xml index e90b48a48e1cc..8bd8bf01e28aa 100644 --- a/modules/opencensus/pom.xml +++ b/modules/opencensus/pom.xml @@ -147,7 +147,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/rest-http/pom.xml b/modules/rest-http/pom.xml index 7bf492fa717dc..daa0a83152415 100644 --- a/modules/rest-http/pom.xml +++ b/modules/rest-http/pom.xml @@ -132,7 +132,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/slf4j/pom.xml b/modules/slf4j/pom.xml index 135fee9b0f3f9..807df528b21ed 100644 --- a/modules/slf4j/pom.xml +++ b/modules/slf4j/pom.xml @@ -76,7 +76,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/spring/pom.xml b/modules/spring/pom.xml index 89325cf88ba69..c08848124fdd6 100644 --- a/modules/spring/pom.xml +++ b/modules/spring/pom.xml @@ -140,7 +140,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/sqlline/pom.xml b/modules/sqlline/pom.xml index 7c166f41bd0e5..bcf99674bab21 100644 --- a/modules/sqlline/pom.xml +++ b/modules/sqlline/pom.xml @@ -67,7 +67,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} true diff --git a/modules/tools/pom.xml b/modules/tools/pom.xml index 0a876ae3887e1..08f9d5697179b 100644 --- a/modules/tools/pom.xml +++ b/modules/tools/pom.xml @@ -66,7 +66,7 @@ maven-resources-plugin - 3.4.0 + ${maven.resources.plugin.version} copy-resources @@ -105,7 +105,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.6.1 + ${build.helper.maven.plugin.version} add-source @@ -125,7 +125,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/unsafe/pom.xml b/modules/unsafe/pom.xml index 8a71076d68fb6..49ff468519e9a 100644 --- a/modules/unsafe/pom.xml +++ b/modules/unsafe/pom.xml @@ -53,7 +53,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/urideploy/pom.xml b/modules/urideploy/pom.xml index a33c01d7ff80d..eae05153183a6 100644 --- a/modules/urideploy/pom.xml +++ b/modules/urideploy/pom.xml @@ -154,7 +154,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/web/pom.xml b/modules/web/pom.xml index f6856e0e58f19..d75e7d4542091 100644 --- a/modules/web/pom.xml +++ b/modules/web/pom.xml @@ -103,7 +103,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/modules/yardstick/pom.xml b/modules/yardstick/pom.xml index a30c6332400d2..2cbe81c69322c 100644 --- a/modules/yardstick/pom.xml +++ b/modules/yardstick/pom.xml @@ -133,7 +133,7 @@ maven-dependency-plugin - 3.9.0 + ${maven.dependency.plugin.version} package @@ -170,7 +170,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.5.0 + ${maven.jar.plugin.version} ${basedir}/target/assembly/libs @@ -208,7 +208,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} true diff --git a/modules/zookeeper/pom.xml b/modules/zookeeper/pom.xml index e84442192c790..28605774472d7 100644 --- a/modules/zookeeper/pom.xml +++ b/modules/zookeeper/pom.xml @@ -229,7 +229,7 @@ org.apache.maven.plugins maven-deploy-plugin - 3.1.4 + ${maven.deploy.plugin.version} false diff --git a/parent/pom.xml b/parent/pom.xml index bc2021aff25ee..b116f704a4f90 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -121,6 +121,22 @@ 3.12.0 3.6.2 + 3.14.1 + 3.5.4 + 3.5.4 + 3.6.1 + 3.5.0 + 3.1.4 + 3.1.4 + 3.5.0 + 3.4.0 + 3.21.0 + 3.4.0 + 3.8.0 + 3.9.0 + 3.1.0 + 3.6.1 + 3.31.5-b1 apache https://sonarcloud.io @@ -476,13 +492,13 @@ org.apache.maven.plugins maven-resources-plugin - 3.4.0 + ${maven.resources.plugin.version} org.codehaus.mojo build-helper-maven-plugin - 3.6.1 + ${build.helper.maven.plugin.version} @@ -575,7 +591,7 @@ org.apache.maven.plugins maven-source-plugin - 3.4.0 + ${maven.source.plugin.version} source @@ -935,7 +951,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.14.1 + ${maven.compiler.plugin.version} --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED @@ -1022,7 +1038,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.14.1 + ${maven.compiler.plugin.version} --add-exports diff --git a/pom.xml b/pom.xml index 829dc7e4f0ac4..dd61c78952e41 100644 --- a/pom.xml +++ b/pom.xml @@ -115,7 +115,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.6.1 + ${build.helper.maven.plugin.version} timestamp-property @@ -420,7 +420,7 @@ org.apache.maven.plugins maven-assembly-plugin - 3.8.0 + ${maven.assembly.plugin.version} false From b3691f863e8a9f3166fad33cdfebb4e8ff1a6904 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Fri, 8 May 2026 15:19:28 +0700 Subject: [PATCH 11/19] IGNITE-28462: Remove redundant dependency from the module --- modules/compress/pom.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/compress/pom.xml b/modules/compress/pom.xml index 4801fdc558052..2e970919efabb 100644 --- a/modules/compress/pom.xml +++ b/modules/compress/pom.xml @@ -137,13 +137,6 @@ ${commons.lang3.version} test - - - commons-io - commons-io - ${commons.io.version} - test - From ccc92ebf9a2b1c6e280a1dbf2e656a657a10589f Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Fri, 8 May 2026 15:42:15 +0700 Subject: [PATCH 12/19] IGNITE-28462: Move sizeOfDirectory to GridTestUtils to make it reusable --- ...CacheObjectCompressionConsumptionTest.java | 33 +------------------ .../ignite/testframework/GridTestUtils.java | 28 ++++++++++++++++ 2 files changed, 29 insertions(+), 32 deletions(-) diff --git a/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java b/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java index 7c650c38fb0fe..ae6de95cf1d48 100644 --- a/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java +++ b/modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/transform/CacheObjectCompressionConsumptionTest.java @@ -18,12 +18,6 @@ package org.apache.ignite.internal.processors.cache.transform; import java.io.File; -import java.io.IOException; -import java.nio.file.FileVisitResult; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.SimpleFileVisitor; -import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; @@ -368,7 +362,7 @@ private Consumption doTest(int cnt, Function keyGen, Function() { - @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { - size[0] += attrs.size(); - - return FileVisitResult.CONTINUE; - } - - @Override public FileVisitResult visitFileFailed(Path file, IOException exc) { - // Ignore files that disappeared during traversal (e.g. checkpoint .tmp files). - return FileVisitResult.CONTINUE; - } - }); - - return size[0]; - } } diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java index a26ebb80d1702..f9e23e80ec8d5 100644 --- a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java +++ b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java @@ -36,6 +36,9 @@ import java.net.MulticastSocket; import java.net.ServerSocket; import java.nio.file.Files; +import java.nio.file.FileVisitResult; +import java.nio.file.SimpleFileVisitor; +import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.Path; import java.nio.file.attribute.PosixFilePermission; import java.security.GeneralSecurityException; @@ -2658,4 +2661,29 @@ public static MessageSerializer loadSerializer(Class() { + @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { + size[0] += attrs.size(); + + return FileVisitResult.CONTINUE; + } + + @Override public FileVisitResult visitFileFailed(Path file, IOException exc) { + return FileVisitResult.CONTINUE; + } + }); + + return size[0]; + } } From 1d2626a1536eed9047a08009e0aced47c95fca84 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Tue, 12 May 2026 10:29:39 +0700 Subject: [PATCH 13/19] IGNITE-28462: Add an inline comment to readStream --- .../testframework/junits/multijvm/JavaVersionCommand.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java index 5266232eb5181..f571f294ae2fa 100644 --- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java +++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java @@ -60,6 +60,10 @@ int majorVersion(String javaHome) throws IOException, InterruptedException { * @throws IOException If something goes wrong. */ private String readStream(InputStream inputStream) throws IOException { + // commons-io (IOUtils) is intentionally not used here. + // JavaVersionCommand is executed inside a forked JVM process launched by IgniteProcessProxy. + // Surefire's IsolatedClassLoader does not include test-scoped dependencies in the forked + // process classpath, so commons-io is unavailable. ByteArrayOutputStream baos = new ByteArrayOutputStream(); byte[] buf = new byte[4096]; int len; From 4c7922d975a7263974181dbf8a79dc05b5560530 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Wed, 13 May 2026 14:43:55 +0700 Subject: [PATCH 14/19] IGNITE-28462: Move readStream to GridTestIoUtils --- .../org/apache/ignite/GridTestIoUtils.java | 21 +++++++++++++ .../ignite/testframework/GridTestUtils.java | 4 +-- .../junits/multijvm/JavaVersionCommand.java | 31 +++---------------- 3 files changed, 27 insertions(+), 29 deletions(-) diff --git a/modules/core/src/test/java/org/apache/ignite/GridTestIoUtils.java b/modules/core/src/test/java/org/apache/ignite/GridTestIoUtils.java index 9a3bf9c3112a4..3a77f5cb01d40 100644 --- a/modules/core/src/test/java/org/apache/ignite/GridTestIoUtils.java +++ b/modules/core/src/test/java/org/apache/ignite/GridTestIoUtils.java @@ -27,6 +27,7 @@ import java.io.ObjectOutputStream; import java.io.ObjectStreamClass; import java.io.Serializable; +import java.nio.charset.StandardCharsets; import java.util.Arrays; import org.apache.commons.io.IOUtils; import org.apache.ignite.marshaller.Marshaller; @@ -317,4 +318,24 @@ private static void close(Closeable c) throws IOException { private GridTestIoUtils() { // No-op. } + + /** + * Reads whole stream content and returns it as a string. + * Uses JDK-only implementation to avoid external dependencies. + * + * @param inputStream Stream to read. + * @return Stream content as a string. + * @throws IOException If something goes wrong. + */ + public static String readStream(InputStream inputStream) throws IOException { + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + + byte[] buf = new byte[4096]; + int len; + + while ((len = inputStream.read(buf)) != -1) + baos.write(buf, 0, len); + + return new String(baos.toByteArray(), StandardCharsets.UTF_8); + } } diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java index f9e23e80ec8d5..cd6b30d84de49 100644 --- a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java +++ b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java @@ -35,11 +35,11 @@ import java.net.InetAddress; import java.net.MulticastSocket; import java.net.ServerSocket; -import java.nio.file.Files; import java.nio.file.FileVisitResult; +import java.nio.file.Files; +import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; -import java.nio.file.Path; import java.nio.file.attribute.PosixFilePermission; import java.security.GeneralSecurityException; import java.security.KeyStore; diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java index f571f294ae2fa..29ed053d48232 100644 --- a/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java +++ b/modules/core/src/test/java/org/apache/ignite/testframework/junits/multijvm/JavaVersionCommand.java @@ -17,13 +17,10 @@ package org.apache.ignite.testframework.junits.multijvm; -import java.io.ByteArrayOutputStream; import java.io.IOException; -import java.io.InputStream; import java.util.concurrent.TimeUnit; +import org.apache.ignite.GridTestIoUtils; import org.apache.ignite.internal.util.GridJavaProcess; - -import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertTrue; /** @@ -43,32 +40,12 @@ int majorVersion(String javaHome) throws IOException, InterruptedException { if (proc.exitValue() != 0) { throw new IllegalStateException("'java -version' failed, stdin '" + - readStream(proc.getInputStream()) + "', stdout '" + - readStream(proc.getErrorStream()) + "'"); + GridTestIoUtils.readStream(proc.getInputStream()) + "', stdout '" + + GridTestIoUtils.readStream(proc.getErrorStream()) + "'"); } - String verOutput = readStream(proc.getErrorStream()); + String verOutput = GridTestIoUtils.readStream(proc.getErrorStream()); return JavaVersionCommandParser.extractMajorVersion(verOutput); } - - /** - * Reads whole stream content and returns it as a string. UTF-8 is used to convert from bytes to string. - * - * @param inputStream Stream to read. - * @return Stream content as a string. - * @throws IOException If something goes wrong. - */ - private String readStream(InputStream inputStream) throws IOException { - // commons-io (IOUtils) is intentionally not used here. - // JavaVersionCommand is executed inside a forked JVM process launched by IgniteProcessProxy. - // Surefire's IsolatedClassLoader does not include test-scoped dependencies in the forked - // process classpath, so commons-io is unavailable. - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - byte[] buf = new byte[4096]; - int len; - while ((len = inputStream.read(buf)) != -1) - baos.write(buf, 0, len); - return new String(baos.toByteArray(), UTF_8); - } } From da71f3e9c7c1ad424affc337de275f86e9a2db2c Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Thu, 14 May 2026 10:04:38 +0700 Subject: [PATCH 15/19] IGNITE-28462: Remove accidentally restored build-helper-maven-plugin block --- pom.xml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/pom.xml b/pom.xml index dd61c78952e41..97f40222cc8b1 100644 --- a/pom.xml +++ b/pom.xml @@ -112,24 +112,6 @@ javadoc - - org.codehaus.mojo - build-helper-maven-plugin - ${build.helper.maven.plugin.version} - - - timestamp-property - - timestamp-property - - validate - - current.year - yyyy - - - - org.apache.maven.plugins maven-javadoc-plugin From 514b67fbbd0a0256f25149c6ba07db1a0e60111d Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Thu, 14 May 2026 20:21:53 +0700 Subject: [PATCH 16/19] IGNITE-28462: Remove scala-maven-plugin and scala.library.version --- parent/pom.xml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index b116f704a4f90..ebf2a7f2cf0d9 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -275,38 +275,6 @@ - - net.alchim31.maven - scala-maven-plugin - 4.9.9 - - - -Xms512m - -Xmx1024m - - - -nobootcp - - - - - scala-compile-first - process-resources - - add-source - compile - - - - scala-test-compile - process-test-resources - - testCompile - - - - - org.apache.maven.plugins maven-jar-plugin @@ -1030,7 +998,6 @@ 11 15 - 2.12.15 From 3453f4bf62a50f9991813c9af41b5a626b3fa73e Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Thu, 14 May 2026 20:24:21 +0700 Subject: [PATCH 17/19] IGNITE-28462: Fix case-sensitive comparison for package-info.class filter in BinaryContext --- .../java/org/apache/ignite/internal/binary/BinaryContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java b/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java index 9c06bfbaa1c6e..fa4bd41cc2c17 100644 --- a/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java +++ b/modules/binary/api/src/main/java/org/apache/ignite/internal/binary/BinaryContext.java @@ -491,7 +491,7 @@ private static Iterable classesInPackage(String pkgName) { String fileName = file.getName(); if (file.isFile() && fileName.toLowerCase().endsWith(".class") - && !fileName.equals("package-info.class")) + && !fileName.equalsIgnoreCase("package-info.class")) clsNames.add(pkgName + '.' + fileName.substring(0, fileName.length() - 6)); } } @@ -509,7 +509,7 @@ else if (cpElement.isFile()) { String clsName = entry.substring(pkgPath.length() + 1, entry.length() - 6); if (!clsName.contains("/") && !clsName.contains("\\") - && !clsName.equals("package-info")) + && !clsName.equalsIgnoreCase("package-info")) clsNames.add(pkgName + '.' + clsName); } } From 0eb7f30741f6f4ea40d42414879ccb4303c814f4 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Mon, 18 May 2026 13:38:19 +0700 Subject: [PATCH 18/19] IGNITE-28462: Fix NoClassDefFoundError for commons-io in indexing tests --- modules/indexing/pom.xml | 7 ------- .../snapshot/IgniteClusterSnapshotMetricsTest.java | 3 +-- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/indexing/pom.xml b/modules/indexing/pom.xml index 233621a939d3b..e718be452c06d 100644 --- a/modules/indexing/pom.xml +++ b/modules/indexing/pom.xml @@ -96,13 +96,6 @@ test - - commons-io - commons-io - ${commons.io.version} - test - - commons-collections commons-collections diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotMetricsTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotMetricsTest.java index e4dcf1c2624a9..9f0142cd82c97 100644 --- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotMetricsTest.java +++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotMetricsTest.java @@ -33,7 +33,6 @@ import javax.management.DynamicMBean; import javax.management.MBeanException; import javax.management.ReflectionException; -import org.apache.commons.io.FileUtils; import org.apache.ignite.Ignite; import org.apache.ignite.IgniteCache; import org.apache.ignite.cache.CacheMode; @@ -286,7 +285,7 @@ public void testCreateSnapshotProgress() throws Exception { assertEquals(-1, processedSize.value()); // Calculate transfer rate limit. - long rate = FileUtils.sizeOfDirectory(ignite.context().pdsFolderResolver().fileTree().nodeStorage()) / 5; + long rate = GridTestUtils.sizeOfDirectory(ignite.context().pdsFolderResolver().fileTree().nodeStorage()) / 5; // Limit snapshot transfer rate. DistributedChangeableProperty rateProp = From 5e58a6ff551b32f28da975321755679926c1a154 Mon Sep 17 00:00:00 2001 From: Kirill Anisimov Date: Tue, 19 May 2026 16:45:59 +0700 Subject: [PATCH 19/19] IGNITE-28462: Remove pomElements section from flatten-maven-plugin in parent/pom.xml --- parent/pom.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index ebf2a7f2cf0d9..4af3f872354da 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -593,9 +593,6 @@ true resolveCiFriendliesOnly ${maven.flatten.file.name} - - resolve - process-resources