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 1723e0b3d9 Bump rewrite-migrate-java to 3.42.1 and rewrite-recipe-bom
to 3.26.1
1723e0b3d9 is described below
commit 1723e0b3d96b685af0d6a775c784d66676c9064d
Author: Andrea Del Bene <[email protected]>
AuthorDate: Wed Oct 7 18:20:10 2026 +0200
Bump rewrite-migrate-java to 3.42.1 and rewrite-recipe-bom to 3.26.1
MigrateToWicket10 runs JavaxMigrationToJakarta from rewrite-migrate-java.
In 3.26.0, that recipe rewrote the Jetty 9
org.eclipse.jetty.websocket:javax-websocket-server-impl dependency to
org.eclipse.jetty.websocket:websocket-javax-server at 12.0.x. That
artifact was only published for Jetty 10, so no version matched and the
literal 12.0.x was written into the pom. A Wicket 9 quickstart migrated
with wicket-migration 10.12.0 then failed to resolve its dependencies.
rewrite-migrate-java 3.42.1 maps the dependency to
org.eclipse.jetty.ee9.websocket:jetty-ee9-websocket-jakarta-server at
the latest 12.0.x release, next to the jetty-ee9-webapp the same recipe
already produces. A migrated quickstart now resolves all its
dependencies. Its Jetty 9 launcher code is not migrated by any recipe
and still needs to be ported to Jetty 12 by hand.
This brings over the master change 003cf99a60, which also excludes
jackson-dataformat-yaml and manages rewrite-static-analysis at 2.41.1.
rewrite-migrate-java 3.42.1 does not work with the OpenRewrite core of
rewrite-recipe-bom 3.23.0: recipe validation fails on uninitialized
preconditions. The bom moves to 3.26.1, the version master uses, where
master got through four dependabot bumps.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
wicket-migration/pom.xml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/wicket-migration/pom.xml b/wicket-migration/pom.xml
index 2f81d8d8aa..94eeb84299 100644
--- a/wicket-migration/pom.xml
+++ b/wicket-migration/pom.xml
@@ -43,7 +43,7 @@
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-migrate-java</artifactId>
- <version>3.26.0</version>
+ <version>3.42.1</version>
<exclusions>
<exclusion>
<groupId>org.openrewrite.recipe</groupId>
@@ -81,6 +81,10 @@
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-parameter-names</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-yaml</artifactId>
+ </exclusion>
<exclusion>
<groupId>com.google.errorprone</groupId>
<artifactId>*</artifactId>
@@ -99,6 +103,11 @@
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <groupId>org.openrewrite.recipe</groupId>
+ <artifactId>rewrite-static-analysis</artifactId>
+ <version>2.41.1</version>
+ </dependency>
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
@@ -126,7 +135,7 @@
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-recipe-bom</artifactId>
- <version>3.23.0</version>
+ <version>3.26.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>