Skip to content

Commit d53997e

Browse files
committed
[Auto] Latest versions as of 2026-01-28T0110
1 parent 56b025a commit d53997e

File tree

61 files changed

+8239
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+8239
-10
lines changed

docs/recipes/java/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ _Basic building blocks for transforming Java code._
2626
* [Recipes](/recipes/java/recipes)
2727
* [Search](/recipes/java/search)
2828
* [Security](/recipes/java/security)
29+
* [Server](/recipes/java/server)
2930
* [Spring](/recipes/java/spring)
3031
* [Springdoc](/recipes/java/springdoc)
3132
* [Struts](/recipes/java/struts)

docs/recipes/java/changepackage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ This recipe is used as part of the following composite recipes:
127127
* [Mitigate Unaffected Non-EE Jakarta 9 Packages](/recipes/com/oracle/weblogic/rewrite/jakarta/mitigateunaffectednoneejakarta9packages.md)
128128
* [Modernize a Jenkins plugin to the latest recommended versions](/recipes/jenkins/modernizeplugin.md)
129129
* [Quarkus 2.x migration from Quarkus 1.x](/recipes/quarkus/quarkus2/quarkus1to2migration.md)
130+
* [Rename OpenSymphony / XWork classes to Struts 7 packages](/recipes/java/struts/migrate7/renameopensymphonytostruts2.md)
130131
* [Rename the package name from `com.nimbusds.jose.shaded.json` to `net.minidev.json`](/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md)
131132
* [Replace `com.sun.net.ssl` package](/recipes/java/migrate/sunnetsslpackageunavailable.md)
132133
* [Replace deprecated `org.springframework.boot.autoconfigure.mongo` API](/recipes/java/spring/boot4/replacedeprecatedautoconfiguremongoapi.md)

docs/recipes/java/changetype.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ This recipe is used as part of the following composite recipes:
144144
* [Prefer `java.util.function.Function`](/recipes/java/migrate/guava/preferjavautilfunction.md)
145145
* [Prefer `java.util.function.Supplier`](/recipes/java/migrate/guava/preferjavautilsupplier.md)
146146
* [Quarkus 2.x migration from Quarkus 1.x](/recipes/quarkus/quarkus2/quarkus1to2migration.md)
147+
* [Rename OpenSymphony / XWork classes to Struts 7 packages](/recipes/java/struts/migrate7/renameopensymphonytostruts2.md)
147148
* [Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType` (Community Edition)](/recipes/hibernate/typedescriptortotype.md)
148149
* [Renamed BasicAuthenticationHttpClientConfigurer to DefaultAuthenticationHttpClientConfigurer](/recipes/org/apache/camel/upgrade/camel413/authenticationhttpclientconfigurer.md)
149150
* [Renamed BasicAuthenticationHttpClientConfigurer to DefaultAuthenticationHttpClientConfigurer](/recipes/org/apache/camel/upgrade/camel413/furyjava.md)

docs/recipes/java/dependencies/dependencylist.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac
2828
| `boolean` | validateResolvable | *Optional*. When enabled the recipe will attempt to download every dependency it encounters, reporting on any failures. This can be useful for identifying dependencies that have become unavailable since an LST was produced.Defaults to false. Valid options: `true`, `false` | `true` |
2929

3030

31+
## Used by
32+
33+
This recipe is used as part of the following composite recipes:
34+
35+
* [Update Prethink context (no AI)](/recipes/prethink/updateprethinkcontextnoai.md)
36+
* [Update Prethink context](/recipes/prethink/updateprethinkcontext-moderne-edition.md)
37+
38+
3139
## Usage
3240

3341
This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed):

docs/recipes/java/dependencies/removedependency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ This recipe is used as part of the following composite recipes:
5353
* [Migrate from EasyMock to Mockito](/recipes/java/testing/easymock/easymocktomockito.md)
5454
* [Migrate from JMockit to Mockito](/recipes/java/testing/jmockit/jmockittomockito.md)
5555
* [Migrate from Spring Cloud Sleuth to OpenTelemetry](/recipes/java/spring/opentelemetry/migratesleuthtoopentelemetry.md)
56-
* [Migrate from Swagger to SpringDoc and OpenAPI](/recipes/java/springdoc/swaggertospringdoc.md)
5756
* [Migrate from Zipkin to OpenTelemetry OTLP](/recipes/java/spring/opentelemetry/migratefromzipkintoopentelemetry.md)
5857
* [Migrate from httpcore-nio to ApacheHttpClient 5.x core dependency](/recipes/apache/httpclient5/upgradeapachehttpcoreniodependencies.md)
5958
* [Migrate from org.apache.httpcomponents to ApacheHttpClient 5.x dependencies](/recipes/apache/httpclient5/upgradeapachehttpclientdependencies.md)
@@ -102,6 +101,7 @@ This recipe is used as part of the following composite recipes:
102101
* [Update Tapestry dependencies](/recipes/tapestry/updatetapestrydependencies.md)
103102
* [Update jakarta annotations dependency](/recipes/java/micronaut/updatejakartaannotations.md)
104103
* [Update to Micronaut Validation 4.x](/recipes/java/micronaut/updatemicronautvalidation.md)
104+
* [Upgrade Struts 6.0 dependencies](/recipes/java/struts/migrate6/upgradestruts6dependencies.md)
105105
* [Upgrade to SpringDoc 2.1](/recipes/java/springdoc/upgradespringdoc_2.md)
106106
* [io.quarkus.updates.core.quarkus31.RemoveMockitoInline](/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md)
107107

docs/recipes/java/migrate/jakarta/jakartaee10.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ This recipe is used as part of the following composite recipes:
118118

119119
* [Migrate to Jakarta EE 11](/recipes/java/migrate/jakarta/jakartaee11.md)
120120
* [Migrate to Spring Boot 3.0](/recipes/java/spring/boot3/upgradespringboot_3_0.md)
121+
* [Migrate to Struts 7.0](/recipes/java/struts/migrate7/migratestruts7.md)
121122

122123
## Examples
123124
##### Example 1

docs/recipes/java/migrate/upgradetojava17.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ This recipe is used as part of the following composite recipes:
146146

147147
* [Migrate to Java 21](/recipes/java/migrate/upgradetojava21.md)
148148
* [Migrate to Spring Boot 3.0](/recipes/java/spring/boot3/upgradespringboot_3_0.md)
149+
* [Migrate to Struts 7.0](/recipes/java/struts/migrate7/migratestruts7.md)
149150
* [Migrate to Wicket 10.x](/recipes/org/apache/wicket/migratetowicket10.md)
150151

151152
## Examples

docs/recipes/java/server/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
description: Server OpenRewrite recipes.
3+
---
4+
5+
# Server
6+
7+
## Categories
8+
9+
* [Jboss](/recipes/java/server/jboss)
10+
11+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
description: Jboss OpenRewrite recipes.
3+
---
4+
5+
# Jboss
6+
7+
## Categories
8+
9+
* [Migrate](/recipes/java/server/jboss/migrate)
10+
11+
## Recipes
12+
13+
* [Delete JBoss deployment descriptor files](./deletejbossdescriptors.md)
14+
* [Plan JBoss migration](./planjbossmigration.md)
15+
16+
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
---
2+
sidebar_label: "Delete JBoss deployment descriptor files"
3+
---
4+
5+
import Tabs from '@theme/Tabs';
6+
import TabItem from '@theme/TabItem';
7+
8+
# Delete JBoss deployment descriptor files
9+
10+
**io.moderne.java.server.jboss.DeleteJBossDescriptors**
11+
12+
_Removes jboss-web.xml and jboss-deployment-structure.xml files as they are no longer needed after a migration._
13+
14+
## Recipe source
15+
16+
This recipe is only available to users of [Moderne](https://docs.moderne.io/).
17+
18+
19+
This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview).
20+
21+
22+
## Usage
23+
24+
This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI:
25+
<Tabs groupId="projectType">
26+
27+
28+
<TabItem value="moderne-cli" label="Moderne CLI">
29+
30+
You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command.
31+
32+
```shell title="shell"
33+
mod run . --recipe DeleteJBossDescriptors
34+
```
35+
36+
If the recipe is not available locally, then you can install it using:
37+
```shell
38+
mod config recipes jar install io.moderne.recipe:rewrite-java-application-server:{{VERSION_IO_MODERNE_RECIPE_REWRITE_JAVA_APPLICATION_SERVER}}
39+
```
40+
</TabItem>
41+
</Tabs>
42+
43+
## See how this recipe works across multiple open-source repositories
44+
45+
import RecipeCallout from '@site/src/components/ModerneLink';
46+
47+
<RecipeCallout link="https://app.moderne.io/recipes/io.moderne.java.server.jboss.DeleteJBossDescriptors" />
48+
49+
The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.
50+
51+
Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS.
52+
## Data Tables
53+
54+
<Tabs groupId="data-tables">
55+
<TabItem value="org.openrewrite.table.SourcesFileResults" label="SourcesFileResults">
56+
57+
### Source files that had results
58+
**org.openrewrite.table.SourcesFileResults**
59+
60+
_Source files that were modified by the recipe run._
61+
62+
| Column Name | Description |
63+
| ----------- | ----------- |
64+
| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. |
65+
| Source path after the run | A recipe may modify the source path. This is the path after the run. `null` when a source file was deleted during the run. |
66+
| Parent of the recipe that made changes | In a hierarchical recipe, the parent of the recipe that made a change. Empty if this is the root of a hierarchy or if the recipe is not hierarchical at all. |
67+
| Recipe that made changes | The specific recipe that made a change. |
68+
| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. |
69+
| Cycle | The recipe cycle in which the change was made. |
70+
71+
</TabItem>
72+
73+
<TabItem value="org.openrewrite.table.SearchResults" label="SearchResults">
74+
75+
### Source files that had search results
76+
**org.openrewrite.table.SearchResults**
77+
78+
_Search results that were found during the recipe run._
79+
80+
| Column Name | Description |
81+
| ----------- | ----------- |
82+
| Source path of search result before the run | The source path of the file with the search result markers present. |
83+
| Source path of search result after run the run | A recipe may modify the source path. This is the path after the run. `null` when a source file was deleted during the run. |
84+
| Result | The trimmed printed tree of the LST element that the marker is attached to. |
85+
| Description | The content of the description of the marker. |
86+
| Recipe that added the search marker | The specific recipe that added the Search marker. |
87+
88+
</TabItem>
89+
90+
<TabItem value="org.openrewrite.table.SourcesFileErrors" label="SourcesFileErrors">
91+
92+
### Source files that errored on a recipe
93+
**org.openrewrite.table.SourcesFileErrors**
94+
95+
_The details of all errors produced by a recipe run._
96+
97+
| Column Name | Description |
98+
| ----------- | ----------- |
99+
| Source path | The file that failed to parse. |
100+
| Recipe that made changes | The specific recipe that made a change. |
101+
| Stack trace | The stack trace of the failure. |
102+
103+
</TabItem>
104+
105+
<TabItem value="org.openrewrite.table.RecipeRunStats" label="RecipeRunStats">
106+
107+
### Recipe performance
108+
**org.openrewrite.table.RecipeRunStats**
109+
110+
_Statistics used in analyzing the performance of recipes._
111+
112+
| Column Name | Description |
113+
| ----------- | ----------- |
114+
| The recipe | The recipe whose stats are being measured both individually and cumulatively. |
115+
| Source file count | The number of source files the recipe ran over. |
116+
| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. |
117+
| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. |
118+
| Max scanning time (ns) | The max time scanning any one source file. |
119+
| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. |
120+
| Max edit time (ns) | The max time editing any one source file. |
121+
122+
</TabItem>
123+
124+
</Tabs>

0 commit comments

Comments
 (0)