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

dashorst pushed a commit to branch wicket-10.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-10.x by this push:
     new 0275dcef46 Let the open Dependabot updates on wicket-10.x pass the 
build
0275dcef46 is described below

commit 0275dcef462275d99f87fe0746e02596cd827245
Author: Martijn Dashorst <[email protected]>
AuthorDate: Wed Nov 4 17:34:22 2026 +0100

    Let the open Dependabot updates on wicket-10.x pass the build
    
    Three dependency updates proposed by Dependabot for wicket-10.x failed
    CI because of how the build itself is set up, not because of the new
    versions:
    
    - maven-surefire-plugin 3.6.1 (#1792) refuses JUnit 4.11 and older, and
      wicket-examples gets JUnit 4.10 transitively through httpunit. The
      root pom now manages junit:junit at 4.13.2, as master has done since
      its own move to surefire 3.6.0.
    
    - micrometer-core 1.17.2 (#1773) brings jspecify 1.0.1, while
      OpenRewrite still asks for 1.0.0, which fails dependencyConvergence
      in wicket-migration. wicket-migration now manages jspecify at 1.0.1.
    
    - jackson-databind 2.22.4 (#1767) ran against jackson-core and the other
      Jackson modules at 2.17.2, which the imported rewrite-recipe-bom
      manages, and MigrateToWicket10Test failed to initialise JsonMapper.
      wicket-migration now imports jackson-bom at ${jackson.version} ahead
      of the rewrite bom, instead of pinning jackson-databind on its own,
      so all Jackson modules move together. jackson.version goes to 2.22.4
      here, because importing the bom at 2.14.3 would hold OpenRewrite back
      below the version it needs.
    
    jackson-databind is an optional dependency of wicket-extensions, used
    by JsonRequestLogger. An application that uses that logger supplies its
    own Jackson, and Wicket is now built and tested against 2.22.4 instead
    of 2.14.3. Nothing else changes for applications: the junit and jspecify
    entries only affect the examples and the migration module's tests.
    
    Generated-by: Claude Code (Claude Opus 5.5)
---
 pom.xml                  |  8 +++++++-
 wicket-migration/pom.xml | 17 ++++++++++++-----
 2 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 532caa54ae..18df04e419 100644
--- a/pom.xml
+++ b/pom.xml
@@ -156,7 +156,7 @@
                
<error_prone_annotations.version>2.51.0</error_prone_annotations.version>
                <forbiddenapis.version>3.11</forbiddenapis.version>
                <jacoco.version>0.8.16</jacoco.version>
-               <jackson.version>2.14.3</jackson.version>
+               <jackson.version>2.22.4</jackson.version>
                
<jakarta.annotation-api.version>2.1.1</jakarta.annotation-api.version>
                <jakarta.el.version>4.0.2</jakarta.el.version>
                <jakarta.el-api.version>5.0.1</jakarta.el-api.version>
@@ -314,6 +314,12 @@
                                <artifactId>jakarta.inject-api</artifactId>
                                <version>${jakarta.inject-api.version}</version>
                        </dependency>
+                       <dependency>
+                               <!-- this one is required to update outdated 
transitive version (in httpunit for ex.) -->
+                               <groupId>junit</groupId>
+                               <artifactId>junit</artifactId>
+                               <version>4.13.2</version>
+                       </dependency>
                        <dependency>
                                <groupId>net.bytebuddy</groupId>
                                <artifactId>byte-buddy</artifactId>
diff --git a/wicket-migration/pom.xml b/wicket-migration/pom.xml
index 43ce77f61f..963b210ace 100644
--- a/wicket-migration/pom.xml
+++ b/wicket-migration/pom.xml
@@ -27,11 +27,6 @@
 
     <dependencyManagement>
         <dependencies>
-            <dependency>
-                <groupId>com.fasterxml.jackson.core</groupId>
-                <artifactId>jackson-databind</artifactId>
-                <version>2.17.2</version>
-            </dependency>
             <dependency>
                 <groupId>jakarta.activation</groupId>
                 <artifactId>jakarta.activation-api</artifactId>
@@ -42,6 +37,11 @@
                 <artifactId>commons-text</artifactId>
                 <version>1.15.0</version>
             </dependency>
+            <dependency>
+                <groupId>org.jspecify</groupId>
+                <artifactId>jspecify</artifactId>
+                <version>1.0.1</version>
+            </dependency>
             <dependency>
                 <groupId>org.openrewrite.recipe</groupId>
                 <artifactId>rewrite-java</artifactId>
@@ -148,6 +148,13 @@
                 <version>26.1.0</version>
                 <scope>test</scope>
             </dependency>
+            <dependency>
+                <groupId>com.fasterxml.jackson</groupId>
+                <artifactId>jackson-bom</artifactId>
+                <version>${jackson.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
             <dependency>
                 <groupId>org.openrewrite.recipe</groupId>
                 <artifactId>rewrite-recipe-bom</artifactId>

Reply via email to