From f600d2411c566c4188a39b55882a85f6c17bf0b8 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Thu, 10 Jul 2025 00:14:01 +0200 Subject: [PATCH 1/2] OpenRewrite v8.57.0 --- .github/workflows/update-docs.yml | 4 +- docs/changelog/8-57-0-Release.md | 44 + .../solver/migration/changeversion.md | 20 +- .../controlflow/controlflowvisualization.md | 2 +- .../io/apacheioutilsuseexplicitcharset.md | 2 +- .../apache/httpclient5/migrateauthscope.md | 2 +- .../apache/httpclient5/newrequestline.md | 2 +- .../apache/httpclient5/newstatusline.md | 2 +- docs/recipes/apache/httpclient5/statusline.md | 2 +- .../httpclient5/upgradeapachehttpclient_5.md | 14 +- .../upgradeapachehttpclient_5_classmapping.md | 12 + ...adeapachehttpclient_5_deprecatedmethods.md | 6 + .../codemods/cleanup/javascript/README.md | 2 +- .../codemods/cleanup/javascript/nolonelyif.md | 19 +- .../com/oracle/weblogic/rewrite/README.md | 1 + ...gejakartawebservicersapidependencyscope.md | 252 ++ .../oracle/weblogic/rewrite/jakartaee9_1.md | 2 +- .../framework/upgradetospringframework_6_2.md | 2 +- .../oracle/weblogic/rewrite/upgradeto1411.md | 2 +- .../oracle/weblogic/rewrite/upgradeto1511.md | 2 + .../launchdarkly/upgradelaunchdarkly6.md | 42 - .../launchdarkly/upgradelaunchdarkly7.md | 42 - docs/recipes/github/README.md | 8 + .../github/replaceossrhsecretswithsonatype.md | 274 ++ docs/recipes/github/replacesecretkeys.md | 189 + docs/recipes/github/replacesecrets.md | 251 ++ docs/recipes/gradle/README.md | 1 + docs/recipes/gradle/changedependency.md | 2 +- .../gradle/changedependencyclassifier.md | 2 +- .../gradle/changedependencyconfiguration.md | 2 +- .../gradle/changedependencyextension.md | 2 +- .../gradle/dependencyusemapnotation.md | 2 +- .../gradle/dependencyusestringnotation.md | 4 +- docs/recipes/gradle/gradlebestpractices.md | 223 + docs/recipes/gradle/migratetogradle6.md | 2 +- docs/recipes/gradle/migratetogradle7.md | 2 +- docs/recipes/gradle/migratetogradle8.md | 2 +- docs/recipes/gradle/removedependency.md | 2 +- .../gradle/search/dependencyinsight.md | 2 +- docs/recipes/gradle/search/finddependency.md | 2 +- docs/recipes/gradle/search/findrepository.md | 98 +- .../java/addorupdateannotationattribute.md | 4 +- docs/recipes/java/deletemethodargument.md | 2 +- .../java/dependencies/changedependency.md | 78 +- .../dependencyvulnerabilitycheck.md | 2 +- .../java/dependencies/removedependency.md | 87 +- .../dependencies/removeunuseddependencies.md | 2 +- .../dependencies/upgradedependencyversion.md | 78 +- docs/recipes/java/flyway/README.md | 1 + .../java/flyway/addflywaymodulesqlserver.md | 254 ++ docs/recipes/java/flyway/migratetoflyway10.md | 2 + docs/recipes/java/jackson/README.md | 4 +- .../codehaus/codehausdependencytofasterxml.md | 174 +- .../jackson/codehaus/jsonincludeannotation.md | 113 +- ...emovedoublyannotatedcodehausannotations.md | 113 +- ...rializationconfigannotationintrospector.md | 113 +- ...rializeargumentsfromcodehaustofasterxml.md | 113 +- .../jackson/codehausclassestofasterxml.md | 233 +- .../java/jackson/codehaustofasterxml.md | 147 +- .../java/jackson/upgradejackson_2_3.md | 553 +++ .../upgradejackson_2_and_3_base_exceptions.md | 421 ++ .../java/logging/changeloggerstoprivate.md | 2 +- .../java/logging/log4j/convertjulentering.md | 2 +- .../java/logging/log4j/convertjulexiting.md | 2 +- docs/recipes/java/logging/log4j/jultolog4j.md | 2 +- .../logging/logback/configureloggerlevel.md | 2 +- .../java/logging/slf4j/changeloglevel.md | 2 +- docs/recipes/java/logging/slf4j/jultoslf4j.md | 2 +- .../java/logging/slf4j/slf4jbestpractices.md | 2 +- ...rapexpensivelogstatementsinconditionals.md | 2 +- .../java/logging/systemprinttologging.md | 2 +- docs/recipes/java/migrate/README.md | 3 +- ...ssionforillegalreflectionwarningsplugin.md | 2 +- docs/recipes/java/migrate/beandiscovery.md | 2 +- .../bouncecastlefromjdk15ontojdk18on.md | 84 +- .../bouncycastlefromjdk15ontojdk15to18.md | 317 ++ docs/recipes/java/migrate/jakarta/README.md | 1 + .../jakarta/faces3xmigrationtofaces4x.md | 2 +- .../jakarta/faces4xmigrationtofaces41x.md | 2 +- .../jakarta/facesmanagedbeansremoved.md | 2 +- .../jakarta/hasnojakartaannotations.md | 212 + .../java/migrate/jakarta/jakartaee10.md | 2 +- .../java/migrate/jakarta/jakartaee11.md | 2 +- .../jakarta/javaxmigrationtojakarta.md | 2 +- .../jakarta/javaxwebxmltojakartawebxml.md | 148 - ...updateannotationattributejavaxtojakarta.md | 2 +- .../jakarta/updatejakartaannotations2.md | 4 +- .../jakarta/updatemanagedbeantonamed.md | 2 +- docs/recipes/java/migrate/java8tojava11.md | 2 +- docs/recipes/java/migrate/javaee6.md | 2 +- docs/recipes/java/migrate/javaee7-recipe.md | 2 +- docs/recipes/java/migrate/javaee8-recipe.md | 2 +- .../java/migrate/javax/addtablegenerator.md | 2 +- .../addtransientannotationtocollections.md | 2 +- .../migrate/javax/httpsessioninvalidate.md | 2 +- .../java/migrate/jpacacheproperties.md | 2 +- .../migrate/jrejdbcinterfacenewmethods.md | 2 +- .../java/migrate/jrewrapperinterface.md | 2 +- .../java/migrate/lang/explicitrecordimport.md | 6 +- .../migrate/lang/ifelseifconstructtoswitch.md | 2 +- .../migrate/lang/nullcheckasswitchcase.md | 2 +- .../lang/switchcaseenumguardtolabel.md | 2 +- .../java/migrate/lang/usetextblocks.md | 80 +- docs/recipes/java/migrate/lang/usevar.md | 2 +- .../lang/var/usevarforgenericsconstructors.md | 2 +- .../java/migrate/lang/var/usevarforobject.md | 44 +- docs/recipes/java/migrate/lombok/README.md | 1 + .../migrate/lombok/lombokbestpractices.md | 2 +- .../java/migrate/lombok/lombokonxtoonx_.md | 219 + .../migrate/lombok/lombokvaltofinalvar.md | 2 +- .../migrate/lombok/updatelomboktojava11.md | 4 +- .../java/migrate/lombok/uselombokgetter.md | 2 +- .../java/migrate/lombok/uselomboksetter.md | 2 +- .../migrate/lombok/usenoargsconstructor.md | 2 +- .../java/migrate/replaceawtgetpeermethod.md | 2 +- .../replacecomsunawtutilitiesmethods.md | 2 +- .../migrate/replacelocalizedstreammethods.md | 2 +- .../java/migrate/search/aboutjavaversion.md | 2 +- .../migrate/search/findinternaljavaxapis.md | 2 +- .../java/migrate/switchpatternmatching.md | 2 +- .../java/migrate/upgradebuildtojava11.md | 2 +- .../java/migrate/upgradebuildtojava17.md | 2 +- .../java/migrate/upgradebuildtojava21.md | 2 +- .../java/migrate/upgradejavaversion.md | 2 +- docs/recipes/java/migrate/upgradetojava17.md | 2 +- docs/recipes/java/migrate/upgradetojava21.md | 2 +- docs/recipes/java/migrate/upgradetojava25.md | 2 +- docs/recipes/java/migrate/upgradetojava6.md | 2 +- docs/recipes/java/migrate/upgradetojava7.md | 2 + docs/recipes/java/migrate/upgradetojava8.md | 4 +- docs/recipes/java/migrate/usetabsorspaces.md | 2 +- .../java/migrate/util/optionalstreamrecipe.md | 2 +- .../migrate/util/removefinalizerfromzip.md | 2 +- .../wasdevmvnchangeparentartifactid.md | 101 + .../java/recipes/isliteralnullrecipe.md | 47 + .../java/recipes/javarecipebestpractices.md | 2 + .../recipes/recipetestingbestpractices.md | 2 + .../java/recipes/reordertestmethods.md | 36 +- .../java/recipes/singledocumentexample.md | 101 + docs/recipes/java/spring/README.md | 1 + docs/recipes/java/spring/addspringproperty.md | 2 +- .../spring/amqp/usetlsamqpconnectionstring.md | 2 +- .../spring/batch/springbatch4to5migration.md | 2 +- .../batch/upgradeskippolicyparametertype.md | 2 +- docs/recipes/java/spring/boot/README.md | 15 + .../java/spring/boot/islikelynotspringboot.md | 197 + .../java/spring/boot/islikelyspringboot.md | 197 + ...springframeworkdependenciestospringboot.md | 216 + .../java/spring/boot/springtospringboot.md | 114 + .../boot2/migratedatabasecredentials.md | 2 +- .../spring/boot2/outputcaptureextension.md | 2 +- .../boot2/springboot2junit4to5migration.md | 2 +- .../spring/boot2/upgradespringboot_2_4.md | 2 +- .../spring/boot2/upgradespringboot_2_5.md | 2 +- .../spring/boot2/upgradespringboot_2_6.md | 2 +- .../spring/boot2/upgradespringboot_2_7.md | 2 +- .../boot3/configurationoverenablesecurity.md | 2 +- .../java/spring/boot3/enablevirtualthreads.md | 30 - ...eplacenonefromautoconfiguretestdatabase.md | 2 +- .../spring/boot3/springboot33bestpractices.md | 2 +- .../spring/boot3/springboot3bestpractices.md | 2 +- .../spring/boot3/upgradespringboot_3_0.md | 2 +- .../spring/boot3/upgradespringboot_3_1.md | 2 +- .../spring/boot3/upgradespringboot_3_2.md | 2 +- .../spring/boot3/upgradespringboot_3_3.md | 2 +- ...upgradespringboot_3_4-community-edition.md | 4 +- .../upgradespringboot_3_4-moderne-edition.md | 2 +- .../spring/boot3/upgradespringboot_3_5.md | 2 +- .../java/spring/changemethodparameter.md | 2 +- docs/recipes/java/spring/data/README.md | 4 +- .../spring/data/migratequerytonativequery.md | 262 ++ .../java/spring/data/upgradespringdata_2_5.md | 5 - .../java/spring/data/upgradespringdata_2_7.md | 9 - .../java/spring/data/upgradespringdata_3_4.md | 239 ++ .../spring/data/usetlsjdbcconnectionstring.md | 2 +- docs/recipes/java/spring/expandproperties.md | 2 +- docs/recipes/java/spring/framework/README.md | 5 + .../framework/islikelyspringframework.md | 199 + .../framework/upgradespringframework_6_0.md | 2 +- .../framework/upgradespringframework_6_1.md | 2 +- .../framework/upgradespringframework_6_2.md | 2 +- .../java/spring/framework/webxml/README.md | 8 + .../framework/webxml/deleteemptywebxml.md | 112 + .../webxmltowebapplicationinitializer.md | 223 + .../java/spring/search/findapicalls.md | 2 +- .../java/spring/search/findapiendpoints.md | 54 +- .../security5/upgradespringsecurity_5_8.md | 2 +- .../security5/usenewsecuritymatchers.md | 2 +- .../oauth2/client/oauth2clientlambdadsl.md | 2 +- .../oauth2/client/oauth2loginlambdadsl.md | 2 +- .../resource/oauth2resourceserverlambdadsl.md | 2 +- .../security6/upgradespringsecurity_6_1.md | 2 +- .../security6/upgradespringsecurity_6_2.md | 2 +- .../security6/upgradespringsecurity_6_3.md | 2 +- .../security6/upgradespringsecurity_6_4.md | 2 +- .../java/springdoc/springfoxtospringdoc.md | 2 +- .../java/springdoc/swaggertospringdoc.md | 2 +- .../simplifychainedassertjassertion.md | 2 +- .../simplifychainedassertjassertions.md | 2 +- .../java/testing/cleanup/bestpractices.md | 2 +- .../cleanup/testsshouldincludeassertions.md | 2 +- .../executionlistenertodbriderannotation.md | 2 +- .../migratedbriderspringtodbriderjunit5.md | 2 +- .../testing/easymock/easymocktomockito.md | 2 +- .../hamcrest/migratehamcresttoassertj.md | 300 -- .../java/testing/jmockit/jmockittomockito.md | 2 +- .../java/testing/junit5/addmissingnested.md | 2 +- .../testing/junit5/updatetestannotation.md | 2 +- .../testing/junit5/usemockitoextension.md | 2 +- docs/recipes/java/testing/mockito/README.md | 2 +- .../testing/mockito/mockito1to3migration.md | 4 +- .../testing/mockito/mockito1to4migration.md | 2 +- .../testing/mockito/mockito1to5migration.md | 2 +- .../java/testing/mockito/mockito4to5only.md | 2 +- .../testing/mockito/mockitobestpractices.md | 2 +- .../mockito/noinitializationforinjectmock.md | 37 +- docs/recipes/jenkins/README.md | 2 + docs/recipes/jenkins/createjenkinsfile.md | 334 ++ .../disablelocalresolutionforparentpom.md | 2 +- docs/recipes/jenkins/jenkinsfileasgroovy.md | 215 + docs/recipes/maven/addannotationprocessor.md | 2 +- docs/recipes/micrometer/timertoobservation.md | 76 +- docs/recipes/openapi/swagger/README.md | 2 +- .../swagger/convertapiresponsetocontent.md | 2 +- .../swagger/migrateapiimplicitparam.md | 2 +- .../migrateapiimplicitparamstoparameters.md | 2 +- .../migrateapimodelpropertytoschema.md | 8 +- .../swagger/migrateapimodeltoschema.md | 88 +- .../swagger/migrateapiparamdefaultvalue.md | 2 +- .../swagger/migrateapiparamtoparameter.md | 2 +- .../migrateapiresponsestoapiresponses.md | 2 +- .../openapi/swagger/migrateapitotag.md | 52 +- ...ateswaggerdefinitiontoopenapidefinition.md | 2 +- .../openapi/swagger/swaggertoopenapi.md | 2 +- .../org/apache/camel/upgrade/README.md | 2 +- .../camel/upgrade/camelmigrationrecipe.md | 22 +- .../org/apache/wicket/bestpractices.md | 2 +- .../org/apache/wicket/migratetowicket10.md | 2 +- .../upgradeaxonframework_4_jakarta.md | 2 +- docs/recipes/quarkus/README.md | 1 + .../quarkus/quarkus1to1_13migration.md | 2 +- docs/recipes/quarkus/slf4jtoquarkuslogger.md | 295 ++ .../rewrite/openrewriterecipebestpractices.md | 4 +- .../adds3eventnotificationdependency.md | 4 +- .../addtransfermanagerdependency.md | 4 +- .../v2migration/upgradesdkdependencies.md | 1524 +++---- docs/recipes/spring/README.md | 7 + docs/recipes/spring/webxml/README.md | 14 + .../migratetojakartaeeservletconfiguration.md | 109 + .../migratetojavaxservletconfiguration.md | 109 + docs/recipes/spring/webxml/removewebxml.md | 109 + docs/recipes/staticanalysis/README.md | 2 + .../addserialversionuidtoserializable.md | 2 +- .../chainstringbuilderappendcalls.md | 50 +- .../combinesemanticallyequalcatchblocks.md | 2 +- .../staticanalysis/commonstaticanalysis.md | 6 +- .../staticanalysis/equalsavoidsnull.md | 2 +- .../explicitcharsetonstringgetbytes.md | 2 +- .../explicitlambdaargumenttypes.md | 2 +- .../fixstringformatexpressions.md | 2 +- .../staticanalysis/instanceofpatternmatch.md | 2 +- .../java/movefieldannotationtotype.md | 2 +- .../staticanalysis/maskcreditcardnumbers.md | 2 +- .../staticanalysis/removeextrasemicolons.md | 66 +- ...emoveredundantnullcheckbeforeinstanceof.md | 262 ++ .../removeunusedlocalvariables.md | 2 +- .../replaceoptionalispresentwithifpresent.md | 2 +- .../staticanalysis/simplifyarraysaslist.md | 219 + .../sortedsetstreamtolinkedhashset.md | 2 +- .../usejavastylearraydeclarations.md | 2 +- ...st-versions-of-every-openrewrite-module.md | 184 +- docs/reference/moderne-recipes.md | 23 +- docs/reference/recipes-with-data-tables.md | 3579 +++++++++-------- docs/reference/scanning-recipes.md | 280 +- sidebars.ts | 1 + src/plugins/latest-versions.js | 136 +- 276 files changed, 11277 insertions(+), 4485 deletions(-) create mode 100644 docs/changelog/8-57-0-Release.md create mode 100644 docs/recipes/com/oracle/weblogic/rewrite/changejakartawebservicersapidependencyscope.md create mode 100644 docs/recipes/github/replaceossrhsecretswithsonatype.md create mode 100644 docs/recipes/github/replacesecretkeys.md create mode 100644 docs/recipes/github/replacesecrets.md create mode 100644 docs/recipes/gradle/gradlebestpractices.md create mode 100644 docs/recipes/java/flyway/addflywaymodulesqlserver.md create mode 100644 docs/recipes/java/jackson/upgradejackson_2_3.md create mode 100644 docs/recipes/java/jackson/upgradejackson_2_and_3_base_exceptions.md create mode 100644 docs/recipes/java/migrate/bouncycastlefromjdk15ontojdk15to18.md create mode 100644 docs/recipes/java/migrate/jakarta/hasnojakartaannotations.md create mode 100644 docs/recipes/java/migrate/lombok/lombokonxtoonx_.md create mode 100644 docs/recipes/java/spring/boot/README.md create mode 100644 docs/recipes/java/spring/boot/islikelynotspringboot.md create mode 100644 docs/recipes/java/spring/boot/islikelyspringboot.md create mode 100644 docs/recipes/java/spring/boot/migratespringframeworkdependenciestospringboot.md create mode 100644 docs/recipes/java/spring/boot/springtospringboot.md create mode 100644 docs/recipes/java/spring/data/migratequerytonativequery.md create mode 100644 docs/recipes/java/spring/data/upgradespringdata_3_4.md create mode 100644 docs/recipes/java/spring/framework/islikelyspringframework.md create mode 100644 docs/recipes/java/spring/framework/webxml/README.md create mode 100644 docs/recipes/java/spring/framework/webxml/deleteemptywebxml.md create mode 100644 docs/recipes/java/spring/framework/webxml/webxmltowebapplicationinitializer.md create mode 100644 docs/recipes/jenkins/createjenkinsfile.md create mode 100644 docs/recipes/jenkins/jenkinsfileasgroovy.md create mode 100644 docs/recipes/quarkus/slf4jtoquarkuslogger.md create mode 100644 docs/recipes/spring/README.md create mode 100644 docs/recipes/spring/webxml/README.md create mode 100644 docs/recipes/spring/webxml/migratetojakartaeeservletconfiguration.md create mode 100644 docs/recipes/spring/webxml/migratetojavaxservletconfiguration.md create mode 100644 docs/recipes/spring/webxml/removewebxml.md create mode 100644 docs/recipes/staticanalysis/removeredundantnullcheckbeforeinstanceof.md create mode 100644 docs/recipes/staticanalysis/simplifyarraysaslist.md diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 3e672db9f9..81822afee3 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -8,8 +8,8 @@ on: type: boolean description: Only update the latest versions of every OpenRewrite module default: true - # schedule: - # - cron: 0 0 * * * + schedule: + - cron: 0 0 * * * concurrency: group: "update-docs" diff --git a/docs/changelog/8-57-0-Release.md b/docs/changelog/8-57-0-Release.md new file mode 100644 index 0000000000..46b14a1611 --- /dev/null +++ b/docs/changelog/8-57-0-Release.md @@ -0,0 +1,44 @@ +--- +description: What's changed in OpenRewrite version 8.57.0. +--- + +# 8.57.0 release (2025-07-10) + +_Total recipe count: 3921_ + +:::info +This changelog only shows what recipes have been added, removed, or changed. OpenRewrite may do releases that do not include these types of changes. To see these changes, please go to the [releases page](https://github.com/openrewrite/rewrite/releases). +::: + +## New Recipes + +* [com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope](https://docs.openrewrite.org/recipes/com/oracle/weblogic/rewrite/changejakartawebservicersapidependencyscope): This recipe will change the jakarta.ws.rs-api dependency scope to provided when jakarta.jakartaee-api version 9.x is provided in WebLogic 15.1.1. This prevents the jakarta.ws.rs-api jar from being deployed to WebLogic which can cause class conflicts. +* [io.moderne.cryptography.FindInsecureSecuritySetProperties](https://docs.openrewrite.org/recipes/cryptography/findinsecuresecuritysetproperties): Locate calls to `Security.setProperty` that set insecure properties. +* [io.moderne.java.spring.boot.IsLikelyNotSpringBoot](https://docs.openrewrite.org/recipes/java/spring/boot/islikelynotspringboot): Marks the project if it's likely not a Spring Boot project. +* [io.moderne.java.spring.boot.IsLikelySpringBoot](https://docs.openrewrite.org/recipes/java/spring/boot/islikelyspringboot): Marks the project if it's likely a Spring Boot project. +* [io.moderne.java.spring.boot.MigrateSpringFrameworkDependenciesToSpringBoot](https://docs.openrewrite.org/recipes/java/spring/boot/migratespringframeworkdependenciestospringboot): Migrate Spring Framework Dependencies to Spring Boot. +* [io.moderne.java.spring.boot.SpringToSpringBoot](https://docs.openrewrite.org/recipes/java/spring/boot/springtospringboot): Migrate non Spring Boot applications to the latest compatible Spring Boot release. This recipe will modify an application's build files introducing Maven dependency management for Spring Boot, or adding the Gradle Spring Boot build plugin. +* [io.moderne.java.spring.framework.IsLikelySpringFramework](https://docs.openrewrite.org/recipes/java/spring/framework/islikelyspringframework): Marks the project if it's likely a Spring Framework project. +* [io.moderne.java.spring.framework.webxml.DeleteEmptyWebXml](https://docs.openrewrite.org/recipes/java/spring/framework/webxml/deleteemptywebxml): Deletes `web.xml` files that contain only an empty `` root element with no child elements. +* [io.moderne.java.spring.framework.webxml.WebXmlToWebApplicationInitializer](https://docs.openrewrite.org/recipes/java/spring/framework/webxml/webxmltowebapplicationinitializer): Migrate `web.xml` to `WebApplicationInitializer` for Spring applications. This allows for programmatic configuration of the web application context, replacing the need for XML-based configuration. This recipe only picks up `web.xml` files located in the `src/main/webapp/WEB-INF` directory to avoid inference with tests. +* [org.openrewrite.github.ReplaceOssrhSecretsWithSonatype](https://docs.openrewrite.org/recipes/github/replaceossrhsecretswithsonatype): Replace deprecated OSSRH_S01 secrets with new Sonatype secrets in GitHub Actions workflows. This is an example use of the `ReplaceSecrets` and `ReplaceSecretKeys` recipes combined used to update the Maven publishing secrets in OpenRewrite's GitHub organization. +* [org.openrewrite.github.ReplaceSecretKeys](https://docs.openrewrite.org/recipes/github/replacesecretkeys): Replace key names used for secrets in GitHub Actions workflow files. +* [org.openrewrite.github.ReplaceSecrets](https://docs.openrewrite.org/recipes/github/replacesecrets): Replace references to GitHub Action secrets in workflow files. +* [org.openrewrite.gradle.GradleBestPractices](https://docs.openrewrite.org/recipes/gradle/gradlebestpractices): Apply a set of [Gradle best practices](https://docs.gradle.org/current/userguide/best_practices_general.html) to the build files, for more efficient and ideomatic builds. +* [org.openrewrite.java.flyway.AddFlywayModuleSqlServer](https://docs.openrewrite.org/recipes/java/flyway/addflywaymodulesqlserver): Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-sqlserver` dependency if you are using SQL Server with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +* [org.openrewrite.java.jackson.UpgradeJackson_2_3](https://docs.openrewrite.org/recipes/java/jackson/upgradejackson_2_3): Migrate applications to the latest Jackson 3.x release. +* [org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions](https://docs.openrewrite.org/recipes/java/jackson/upgradejackson_2_and_3_base_exceptions): Jackson 3 contains new base exceptions which were also backported to 2.x. This recipe will migrate usage to the new base exceptions to prepare for a 3.x upgrade. +* [org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18](https://docs.openrewrite.org/recipes/java/migrate/bouncycastlefromjdk15ontojdk15to18): This recipe replaces the Bouncy Castle artifacts from `jdk15on` to `jdk15to18`. `jdk15on` isn't maintained anymore and `jdk18on` is only for Java 8 and above. The `jdk15to18` artifact is the up-to-date replacement of the unmaintained `jdk15on` for Java < 8. +* [org.openrewrite.java.migrate.jakarta.HasNoJakartaAnnotations](https://docs.openrewrite.org/recipes/java/migrate/jakarta/hasnojakartaannotations): Mark all source as found per `JavaProject` where no Jakarta annotations are found. This is useful mostly as a precondition for recipes that require Jakarta annotations to be present +* [org.openrewrite.java.migrate.lombok.LombokOnXToOnX_](https://docs.openrewrite.org/recipes/java/migrate/lombok/lombokonxtoonx_): Migrates Lombok's `onX` annotations from the Java 7 style using `@__` to the Java 8+ style using `onX_`. For example, `@Getter(onMethod=@__({@Id}))` becomes `@Getter(onMethod_={@Id})`. +* [org.openrewrite.java.spring.data.MigrateQueryToNativeQuery](https://docs.openrewrite.org/recipes/java/spring/data/migratequerytonativequery): Replace `@Query` annotation by `@NativeQuery` when `nativeQuery = true`. `@NativeQuery` was introduced in Spring Data JPA 3.4. +* [org.openrewrite.java.spring.data.UpgradeSpringData_3_4](https://docs.openrewrite.org/recipes/java/spring/data/upgradespringdata_3_4): Migrate applications to the latest Spring Data 3.4 release. +* [org.openrewrite.jenkins.CreateJenkinsfile](https://docs.openrewrite.org/recipes/jenkins/createjenkinsfile): Creates a simple base Jenkinsfile in Groovy for a Declarative Pipeline - located in the root of the project. +* [org.openrewrite.jenkins.JenkinsfileAsGroovy](https://docs.openrewrite.org/recipes/jenkins/jenkinsfileasgroovy): Parse any `Jenkinsfile` as Groovy code. +* [org.openrewrite.quarkus.Slf4jToQuarkusLogger](https://docs.openrewrite.org/recipes/quarkus/slf4jtoquarkuslogger): Removes usage of SLF4J Logger fields, adjusts imports, and replaces logger method calls with static Quarkus Log calls, including message formatting and method renaming for parameterized logging. +* [org.openrewrite.spring.webxml.MigrateToJakartaEEServletConfiguration](https://docs.openrewrite.org/recipes/spring/webxml/migratetojakartaeeservletconfiguration): Migrates `web.xml` content to Spring Boot Configuration classes using Jakarta EE namespace. +* [org.openrewrite.spring.webxml.MigrateToJavaXServletConfiguration](https://docs.openrewrite.org/recipes/spring/webxml/migratetojavaxservletconfiguration): Migrates `web.xml` content to Spring Boot Configuration classes using Java EE javax namespace. +* [org.openrewrite.spring.webxml.RemoveWebXml](https://docs.openrewrite.org/recipes/spring/webxml/removewebxml): Migrates `web.xml` content to Spring Boot Configuration classes with respect to Java EE or Jakarta EE usage. +* [org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof](https://docs.openrewrite.org/recipes/staticanalysis/removeredundantnullcheckbeforeinstanceof): Removes redundant null checks before instanceof operations since instanceof returns false for null. +* [org.openrewrite.staticanalysis.SimplifyArraysAsList](https://docs.openrewrite.org/recipes/staticanalysis/simplifyarraysaslist): Simplifies `Arrays.asList()` method calls that use explicit array creation to use varargs instead. For example, `Arrays.asList(new String[]{"a", "b", "c"})` becomes `Arrays.asList("a", "b", "c")`. + diff --git a/docs/recipes/ai/timefold/solver/migration/changeversion.md b/docs/recipes/ai/timefold/solver/migration/changeversion.md index 819155b897..e2a042ebeb 100644 --- a/docs/recipes/ai/timefold/solver/migration/changeversion.md +++ b/docs/recipes/ai/timefold/solver/migration/changeversion.md @@ -30,27 +30,27 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `version.ai.timefold.solver` - * newValue: `1.23.0` + * newValue: `1.24.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `version.timefold` - * newValue: `1.23.0` + * newValue: `1.24.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `ai.timefold.solver.version` - * newValue: `1.23.0` + * newValue: `1.24.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `timefold.version` - * newValue: `1.23.0` + * newValue: `1.24.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `timefoldVersion` - * newValue: `1.23.0` + * newValue: `1.24.0` * addIfMissing: `false` * trustParent: `true` @@ -68,27 +68,27 @@ description: | recipeList: - org.openrewrite.maven.ChangePropertyValue: key: version.ai.timefold.solver - newValue: 1.23.0 + newValue: 1.24.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: version.timefold - newValue: 1.23.0 + newValue: 1.24.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: ai.timefold.solver.version - newValue: 1.23.0 + newValue: 1.24.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: timefold.version - newValue: 1.23.0 + newValue: 1.24.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: timefoldVersion - newValue: 1.23.0 + newValue: 1.24.0 addIfMissing: false trustParent: true diff --git a/docs/recipes/analysis/controlflow/controlflowvisualization.md b/docs/recipes/analysis/controlflow/controlflowvisualization.md index 75488a6421..296666b3a7 100644 --- a/docs/recipes/analysis/controlflow/controlflowvisualization.md +++ b/docs/recipes/analysis/controlflow/controlflowvisualization.md @@ -230,4 +230,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [lingenj](mailto:jacob.van.lingen@moderne.io), [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [lingenj](mailto:jacob.van.lingen@moderne.io), [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md b/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md index 0b4d0182df..d8c6c722ec 100644 --- a/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md +++ b/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md @@ -223,4 +223,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Patrick Way, [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io) +Patrick Way, [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/apache/httpclient5/migrateauthscope.md b/docs/recipes/apache/httpclient5/migrateauthscope.md index 1dfca699e6..49ec31f2f7 100644 --- a/docs/recipes/apache/httpclient5/migrateauthscope.md +++ b/docs/recipes/apache/httpclient5/migrateauthscope.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/apache/httpclient5/newrequestline.md b/docs/recipes/apache/httpclient5/newrequestline.md index 41d6615b7f..acb0f9c91b 100644 --- a/docs/recipes/apache/httpclient5/newrequestline.md +++ b/docs/recipes/apache/httpclient5/newrequestline.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[steve-aom-elliott](mailto:steve@moderne.io) +[steve-aom-elliott](mailto:steve@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/apache/httpclient5/newstatusline.md b/docs/recipes/apache/httpclient5/newstatusline.md index 6dfb803ca5..20b1a2ea9a 100644 --- a/docs/recipes/apache/httpclient5/newstatusline.md +++ b/docs/recipes/apache/httpclient5/newstatusline.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/apache/httpclient5/statusline.md b/docs/recipes/apache/httpclient5/statusline.md index b10bd3a917..40fcae0985 100644 --- a/docs/recipes/apache/httpclient5/statusline.md +++ b/docs/recipes/apache/httpclient5/statusline.md @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[steve-aom-elliott](mailto:steve@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[steve-aom-elliott](mailto:steve@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md index e1155f42d2..2b9abd0c52 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md @@ -66,6 +66,12 @@ This recipe is available under the [Moderne Source Available License](https://do * [Adds `TimeUnit` to timeouts and duration methods](../../apache/httpclient5/upgradeapachehttpclient_5_timeunit) * [Migrate to ApacheHttpClient 5.x deprecated methods from 4.x](../../apache/httpclient5/statusline) * [Replaces `AuthScope.ANY`](../../apache/httpclient5/migrateauthscope) +* [Delete method argument](../../java/deletemethodargument) + * methodPattern: `org.apache.hc.client5.http.impl.auth.BasicSchemeFactory (java.nio.charset.Charset)` + * argumentIndex: `0` +* [Delete method argument](../../java/deletemethodargument) + * methodPattern: `org.apache.hc.client5.http.impl.auth.DigestSchemeFactory (java.nio.charset.Charset)` + * argumentIndex: `0` @@ -115,6 +121,12 @@ recipeList: - org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_TimeUnit - org.openrewrite.apache.httpclient5.StatusLine - org.openrewrite.apache.httpclient5.MigrateAuthScope + - org.openrewrite.java.DeleteMethodArgument: + methodPattern: org.apache.hc.client5.http.impl.auth.BasicSchemeFactory (java.nio.charset.Charset) + argumentIndex: 0 + - org.openrewrite.java.DeleteMethodArgument: + methodPattern: org.apache.hc.client5.http.impl.auth.DigestSchemeFactory (java.nio.charset.Charset) + argumentIndex: 0 ``` @@ -1021,4 +1033,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), SiBorea, Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), SiBorea, Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md index d358f24d1f..8642c5ba48 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md @@ -112,6 +112,12 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change type](../../java/changetype) * oldFullyQualifiedTypeName: `org.apache.http.impl.client.ProxyAuthenticationStrategy` * newFullyQualifiedTypeName: `org.apache.hc.client5.http.impl.DefaultAuthenticationStrategy` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.http.auth.AuthSchemeProvider` + * newFullyQualifiedTypeName: `org.apache.hc.client5.http.auth.AuthSchemeFactory` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.http.client.config.AuthSchemes` + * newFullyQualifiedTypeName: `org.apache.hc.client5.http.auth.StandardAuthScheme` * [Rename package name](../../java/changepackage) * oldPackageName: `org.apache.http.auth` * newPackageName: `org.apache.hc.client5.http.auth` @@ -509,6 +515,12 @@ recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: org.apache.http.impl.client.ProxyAuthenticationStrategy newFullyQualifiedTypeName: org.apache.hc.client5.http.impl.DefaultAuthenticationStrategy + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.http.auth.AuthSchemeProvider + newFullyQualifiedTypeName: org.apache.hc.client5.http.auth.AuthSchemeFactory + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.http.client.config.AuthSchemes + newFullyQualifiedTypeName: org.apache.hc.client5.http.auth.StandardAuthScheme - org.openrewrite.java.ChangePackage: oldPackageName: org.apache.http.auth newPackageName: org.apache.hc.client5.http.auth diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md index ff107468ab..82b3d2ea57 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md @@ -43,6 +43,9 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change method name](../../java/changemethodname) * methodPattern: `org.apache.hc.client5.http.classic.methods.HttpUriRequestBase releaseConnection()` * newMethodName: `reset` +* [Change method name](../../java/changemethodname) + * methodPattern: `org.apache.hc.client5.http.auth.AuthScheme getSchemeName()` + * newMethodName: `getName` @@ -71,6 +74,9 @@ recipeList: - org.openrewrite.java.ChangeMethodName: methodPattern: org.apache.hc.client5.http.classic.methods.HttpUriRequestBase releaseConnection() newMethodName: reset + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.apache.hc.client5.http.auth.AuthScheme getSchemeName() + newMethodName: getName ``` diff --git a/docs/recipes/codemods/cleanup/javascript/README.md b/docs/recipes/codemods/cleanup/javascript/README.md index e6e0e11c38..c2446a5812 100644 --- a/docs/recipes/codemods/cleanup/javascript/README.md +++ b/docs/recipes/codemods/cleanup/javascript/README.md @@ -7,7 +7,7 @@ * [Disallow comparing `undefined` using `typeof`.](./notypeofundefined.md) * [Disallow else blocks after return statements in if statements](./noelsereturn.md) * [Disallow equal signs explicitly at the beginning of regular expressions](./nodivregex.md) -* [Disallow if statements as the only statement in else blocks](./nolonelyif.md) +* [Disallow `if` statements as the only statement in `if` blocks without `else`.](./nolonelyif.md) * [Disallow initializing variables to undefined](./noundefinit.md) * [Disallow member access from `await` expression.](./noawaitexpressionmember.md) * [Disallow negated conditions.](./nonegatedcondition.md) diff --git a/docs/recipes/codemods/cleanup/javascript/nolonelyif.md b/docs/recipes/codemods/cleanup/javascript/nolonelyif.md index 84ba7a47aa..582887fec0 100644 --- a/docs/recipes/codemods/cleanup/javascript/nolonelyif.md +++ b/docs/recipes/codemods/cleanup/javascript/nolonelyif.md @@ -1,19 +1,19 @@ --- -sidebar_label: "Disallow if statements as the only statement in else blocks" +sidebar_label: "Disallow if statements as the only statement in if blocks without else." --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Disallow if statements as the only statement in else blocks +# Disallow `if` statements as the only statement in `if` blocks without `else`. **org.openrewrite.codemods.cleanup.javascript.NoLonelyIf** -_Disallow if statements as the only statement in else blocks See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if)_ +_Disallow `if` statements as the only statement in `if` blocks without `else`. See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-lonely-if.md)_ ## Recipe source -[GitHub](https://github.com/moderneinc/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), +[GitHub](https://github.com/moderneinc/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/moderneinc/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) @@ -26,7 +26,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Lint source code with ESLint](../../../codemods/eslint) * fix: `true` - * configFile: `{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json"] }, "rules": { "no-lonely-if": 2 }, "globals": { "browser": true, "node": true } } ` + * configFile: `{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json"] }, "plugins": ["unicorn"], "rules": { "unicorn/no-lonely-if": 2 }, "globals": { "browser": true, "node": true } } ` @@ -36,10 +36,10 @@ This recipe is available under the [Moderne Source Available License](https://do --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.codemods.cleanup.javascript.NoLonelyIf -displayName: Disallow if statements as the only statement in else blocks +displayName: Disallow `if` statements as the only statement in `if` blocks without `else`. description: | - Disallow if statements as the only statement in else blocks - See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if) + Disallow `if` statements as the only statement in `if` blocks without `else`. + See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-lonely-if.md) recipeList: - org.openrewrite.codemods.ESLint: @@ -48,8 +48,9 @@ recipeList: "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json"] }, + "plugins": ["unicorn"], "rules": { - "no-lonely-if": 2 + "unicorn/no-lonely-if": 2 }, "globals": { "browser": true, diff --git a/docs/recipes/com/oracle/weblogic/rewrite/README.md b/docs/recipes/com/oracle/weblogic/rewrite/README.md index 7bea9806f5..1f4e37c1c3 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/README.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/README.md @@ -12,6 +12,7 @@ _Recipes that include further recipes, often including the individual recipes below._ * [Change the jakarta.inject-api dependency to scope provided when jakartaee-api 9.x is provided.](./changejakartainjectapidependencyscope.md) +* [Change the jakarta.ws.rs-api dependency to scope provided when jakartaee-api 9.x is provided.](./changejakartawebservicersapidependencyscope.md) * [Change the jakarta.xml.bind-api dependency to scope provided when jakartaee-api 9.x is provided.](./changejaxbbindapidependencyscope.md) * [Check and Comment Out Deprecations removed on WebLogic version 14.1.2](./checkandcommentoutdeprecations1412.md) * [Migrate WebLogic Schemas to 14.1.2](./migrateweblogicschemasto1412.md) diff --git a/docs/recipes/com/oracle/weblogic/rewrite/changejakartawebservicersapidependencyscope.md b/docs/recipes/com/oracle/weblogic/rewrite/changejakartawebservicersapidependencyscope.md new file mode 100644 index 0000000000..3788d410e5 --- /dev/null +++ b/docs/recipes/com/oracle/weblogic/rewrite/changejakartawebservicersapidependencyscope.md @@ -0,0 +1,252 @@ +--- +sidebar_label: "Change the jakarta.ws.rs-api dependency to scope provided when jakartaee-api 9.x is provided." +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change the jakarta.ws.rs-api dependency to scope provided when jakartaee-api 9.x is provided. + +**com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope** + +_This recipe will change the jakarta.ws.rs-api dependency scope to provided when jakarta.jakartaee-api version 9.x is provided in WebLogic 15.1.1. This prevents the jakarta.ws.rs-api jar from being deployed to WebLogic which can cause class conflicts._ + +### Tags + +* weblogic + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change Maven dependency scope](../../../../maven/changedependencyscope) + * groupId: `jakarta.ws.rs` + * artifactId: `jakarta.ws.rs-api` + * newScope: `provided` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope +displayName: Change the jakarta.ws.rs-api dependency to scope provided when jakartaee-api 9.x is provided. +description: | + This recipe will change the jakarta.ws.rs-api dependency scope to provided when jakarta.jakartaee-api version 9.x is provided in WebLogic 15.1.1. This prevents the jakarta.ws.rs-api jar from being deployed to WebLogic which can cause class conflicts. +tags: + - weblogic +recipeList: + - org.openrewrite.maven.ChangeDependencyScope: + groupId: jakarta.ws.rs + artifactId: jakarta.ws.rs-api + newScope: provided + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-third-party:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_THIRD_PARTY}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-third-party:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_THIRD_PARTY}}") + } + rewrite { + activeRecipe("com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope + + + + + org.openrewrite.recipe + rewrite-third-party + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_THIRD_PARTY}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-third-party:RELEASE -Drewrite.activeRecipes=com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe ChangeJakartaWebServiceRSAPIDependencyScope +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-third-party:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_THIRD_PARTY}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md b/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md index 70e1ed8798..27684b9def 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md @@ -299,4 +299,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Evie Lau, ranuradh, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Chuka Obinabo, Evie Lau, ranuradh, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/upgradetospringframework_6_2.md b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/upgradetospringframework_6_2.md index c222e965c0..b0aade11d4 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/upgradetospringframework_6_2.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/upgradetospringframework_6_2.md @@ -266,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Kun Li](mailto:kun@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com) +[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md index c65b0f32de..4256b5badf 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md @@ -321,4 +321,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), Aaron Gershman, Daryl Robbins, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Josh Soref, Kun Li +Chuka Obinabo, Anu Ramamoorthy, BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), Aaron Gershman, Daryl Robbins, Adam Slaski, [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Josh Soref, Kun Li diff --git a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md index 8341ec90fc..085e945c7e 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md @@ -39,6 +39,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [Migrate WebLogic Schemas to 15.1.1](../../../../com/oracle/weblogic/rewrite/migrateweblogicschemasto1511) * [Change the jakarta.inject-api dependency to scope provided when jakartaee-api 9.x is provided.](../../../../com/oracle/weblogic/rewrite/changejakartainjectapidependencyscope) * [Change the jakarta.xml.bind-api dependency to scope provided when jakartaee-api 9.x is provided.](../../../../com/oracle/weblogic/rewrite/changejaxbbindapidependencyscope) +* [Change the jakarta.ws.rs-api dependency to scope provided when jakartaee-api 9.x is provided.](../../../../com/oracle/weblogic/rewrite/changejakartawebservicersapidependencyscope) @@ -61,6 +62,7 @@ recipeList: - com.oracle.weblogic.rewrite.MigrateWebLogicSchemasTo1511 - com.oracle.weblogic.rewrite.ChangeJakartaInjectAPIDependencyScope - com.oracle.weblogic.rewrite.ChangeJAXBBindAPIDependencyScope + - com.oracle.weblogic.rewrite.ChangeJakartaWebServiceRSAPIDependencyScope ``` diff --git a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md index 3ac351fa9d..6185e94f9e 100644 --- a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md +++ b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md @@ -82,27 +82,6 @@ Maven --- ##### Example 2 -Gradle - - -###### Unchanged -```groovy title="build.gradle" -plugins { - id "java" -} - -repositories { - mavenCentral() -} - -dependencies { - implementation "com.launchdarkly:launchdarkly-java-server-sdk:5.10.9" -} -``` - ---- - -##### Example 3 Maven @@ -125,27 +104,6 @@ Maven ``` ---- - -##### Example 4 -Gradle - - -###### Unchanged -```groovy title="build.gradle" -plugins { - id "java" -} - -repositories { - mavenCentral() -} - -dependencies { - implementation "com.launchdarkly:launchdarkly-java-server-sdk:5.10.9" -} -``` - ## Usage diff --git a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md index 095a96b3ae..879f3cc667 100644 --- a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md +++ b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md @@ -82,27 +82,6 @@ Maven --- ##### Example 2 -Gradle - - -###### Unchanged -```groovy title="build.gradle" -plugins { - id "java" -} - -repositories { - mavenCentral() -} - -dependencies { - implementation "com.launchdarkly:launchdarkly-java-server-sdk:6.3.0" -} -``` - ---- - -##### Example 3 Maven @@ -125,27 +104,6 @@ Maven ``` ---- - -##### Example 4 -Gradle - - -###### Unchanged -```groovy title="build.gradle" -plugins { - id "java" -} - -repositories { - mavenCentral() -} - -dependencies { - implementation "com.launchdarkly:launchdarkly-java-server-sdk:6.3.0" -} -``` - ## Usage diff --git a/docs/recipes/github/README.md b/docs/recipes/github/README.md index bdd5fe8afe..6bb8fc91d4 100644 --- a/docs/recipes/github/README.md +++ b/docs/recipes/github/README.md @@ -6,6 +6,12 @@ _Recipes to perform [GitHub Actions](https://docs.github.com/en/actions) hygiene * [Gradle](/recipes/github/gradle) +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Replace OSSRH secrets with Sonatype secrets](./replaceossrhsecretswithsonatype.md) + ## Recipes * [Add cron workflow trigger](./addcrontrigger.md) @@ -19,7 +25,9 @@ _Recipes to perform [GitHub Actions](https://docs.github.com/en/actions) hygiene * [Find GitHub action secret references](./findgithubactionsecretreferences.md) * [Find jobs missing timeout](./findmissingtimeout.md) * [Remove all cron triggers](./removeallcrontriggers.md) +* [Replace GitHub Action secret names](./replacesecrets.md) * [Replace runners for a job](./replacerunners.md) +* [Replace secret key names in GitHub Actions](./replacesecretkeys.md) * [Setup Java dependency caching](./setupjavacaching.md) * [Upgrade `actions/setup-java` `java-version`](./setupjavaupgradejavaversion.md) * [Upgrade `slackapi/slack-github-action`](./upgradeslacknotificationversion2.md) diff --git a/docs/recipes/github/replaceossrhsecretswithsonatype.md b/docs/recipes/github/replaceossrhsecretswithsonatype.md new file mode 100644 index 0000000000..01b7744b76 --- /dev/null +++ b/docs/recipes/github/replaceossrhsecretswithsonatype.md @@ -0,0 +1,274 @@ +--- +sidebar_label: "Replace OSSRH secrets with Sonatype secrets" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace OSSRH secrets with Sonatype secrets + +**org.openrewrite.github.ReplaceOssrhSecretsWithSonatype** + +_Replace deprecated OSSRH_S01 secrets with new Sonatype secrets in GitHub Actions workflows. This is an example use of the `ReplaceSecrets` and `ReplaceSecretKeys` recipes combined used to update the Maven publishing secrets in OpenRewrite's GitHub organization._ + +### Tags + +* github +* secrets + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Definition + + + +* [Replace GitHub Action secret names](../github/replacesecrets) + * oldSecretName: `OSSRH_S01_USERNAME` + * newSecretName: `SONATYPE_USERNAME` +* [Replace GitHub Action secret names](../github/replacesecrets) + * oldSecretName: `OSSRH_S01_TOKEN` + * newSecretName: `SONATYPE_TOKEN` +* [Replace secret key names in GitHub Actions](../github/replacesecretkeys) + * oldKeyName: `ossrh_username` + * newKeyName: `sonatype_username` +* [Replace secret key names in GitHub Actions](../github/replacesecretkeys) + * oldKeyName: `ossrh_token` + * newKeyName: `sonatype_token` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.github.ReplaceOssrhSecretsWithSonatype +displayName: Replace OSSRH secrets with Sonatype secrets +description: | + Replace deprecated OSSRH_S01 secrets with new Sonatype secrets in GitHub Actions workflows. This is an example use of the `ReplaceSecrets` and `ReplaceSecretKeys` recipes combined used to update the Maven publishing secrets in OpenRewrite's GitHub organization. + +tags: + - github + - secrets +recipeList: + - org.openrewrite.github.ReplaceSecrets: + oldSecretName: OSSRH_S01_USERNAME + newSecretName: SONATYPE_USERNAME + - org.openrewrite.github.ReplaceSecrets: + oldSecretName: OSSRH_S01_TOKEN + newSecretName: SONATYPE_TOKEN + - org.openrewrite.github.ReplaceSecretKeys: + oldKeyName: ossrh_username + newKeyName: sonatype_username + - org.openrewrite.github.ReplaceSecretKeys: + oldKeyName: ossrh_token + newKeyName: sonatype_token + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.github.ReplaceOssrhSecretsWithSonatype") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}}") + } + rewrite { + activeRecipe("org.openrewrite.github.ReplaceOssrhSecretsWithSonatype") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.github.ReplaceOssrhSecretsWithSonatype + + + + + org.openrewrite.recipe + rewrite-github-actions + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-github-actions:RELEASE -Drewrite.activeRecipes=org.openrewrite.github.ReplaceOssrhSecretsWithSonatype -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe ReplaceOssrhSecretsWithSonatype +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/github/replacesecretkeys.md b/docs/recipes/github/replacesecretkeys.md new file mode 100644 index 0000000000..2a56a3ca80 --- /dev/null +++ b/docs/recipes/github/replacesecretkeys.md @@ -0,0 +1,189 @@ +--- +sidebar_label: "Replace secret key names in GitHub Actions" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace secret key names in GitHub Actions + +**org.openrewrite.github.ReplaceSecretKeys** + +_Replace key names used for secrets in GitHub Actions workflow files._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/ReplaceSecretKeys.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `String` | oldKeyName | The name of the key to be replaced | `ossrh_username` | +| `String` | newKeyName | The new key name to use | `sonatype_username` | +| `String` | fileMatcher | *Optional*. Optional file path matcher | `.github/workflows/*.yml` | + + +## Usage + +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceSecretKeysExample`. +Here's how you can define and customize such a recipe within your rewrite.yml: +```yaml title="rewrite.yml" +--- +type: specs.openrewrite.org/v1beta/recipe +name: com.yourorg.ReplaceSecretKeysExample +displayName: Replace secret key names in GitHub Actions example +recipeList: + - org.openrewrite.github.ReplaceSecretKeys: + oldKeyName: ossrh_username + newKeyName: sonatype_username + fileMatcher: .github/workflows/*.yml +``` + +Now that `com.yourorg.ReplaceSecretKeysExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}}` in your build file: + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("com.yourorg.ReplaceSecretKeysExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}}") +} +``` +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + com.yourorg.ReplaceSecretKeysExample + + + + + org.openrewrite.recipe + rewrite-github-actions + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} + + + + + + +``` +2. Run `mvn rewrite:run` to run the recipe. + + + +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. + +```shell title="shell" +mod run . --recipe ReplaceSecretKeys --recipe-option "oldKeyName=ossrh_username" --recipe-option "newKeyName=sonatype_username" --recipe-option "fileMatcher=.github/workflows/*.yml" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/github/replacesecrets.md b/docs/recipes/github/replacesecrets.md new file mode 100644 index 0000000000..a2e648fdf3 --- /dev/null +++ b/docs/recipes/github/replacesecrets.md @@ -0,0 +1,251 @@ +--- +sidebar_label: "Replace GitHub Action secret names" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace GitHub Action secret names + +**org.openrewrite.github.ReplaceSecrets** + +_Replace references to GitHub Action secrets in workflow files._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/ReplaceSecrets.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `String` | oldSecretName | The name of the secret to be replaced | `OSSRH_S01_USERNAME` | +| `String` | newSecretName | The new secret name to use | `SONATYPE_USERNAME` | +| `String` | fileMatcher | *Optional*. Optional file path matcher | `.github/workflows/*.yml` | + +## Example + +###### Parameters +| Parameter | Value | +| -- | -- | +|oldSecretName|`OSSRH_S01_USERNAME`| +|newSecretName|`SONATYPE_USERNAME`| +|fileMatcher|`null`| + + + + + + +###### Before +```yaml +name: Publish +jobs: + build: + secrets: + ossrh_username: ${{ secrets.OSSRH_S01_USERNAME }} + ossrh_token: ${{ secrets.OSSRH_S01_TOKEN }} + steps: + - name: Publish to Maven Central + env: + MAVEN_USERNAME: ${{ secrets.OSSRH_S01_USERNAME }} +``` + +###### After +```yaml +name: Publish +jobs: + build: + secrets: + ossrh_username: ${{ secrets.SONATYPE_USERNAME }} + ossrh_token: ${{ secrets.OSSRH_S01_TOKEN }} + steps: + - name: Publish to Maven Central + env: + MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} +``` + + + + +```diff +@@ -5,1 +5,1 @@ + build: + secrets: +- ossrh_username: ${{ secrets.OSSRH_S01_USERNAME }} ++ ossrh_username: ${{ secrets.SONATYPE_USERNAME }} + ossrh_token: ${{ secrets.OSSRH_S01_TOKEN }} +@@ -10,1 +10,1 @@ + - name: Publish to Maven Central + env: +- MAVEN_USERNAME: ${{ secrets.OSSRH_S01_USERNAME }} ++ MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + +``` + + + + +## Usage + +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceSecretsExample`. +Here's how you can define and customize such a recipe within your rewrite.yml: +```yaml title="rewrite.yml" +--- +type: specs.openrewrite.org/v1beta/recipe +name: com.yourorg.ReplaceSecretsExample +displayName: Replace GitHub Action secret names example +recipeList: + - org.openrewrite.github.ReplaceSecrets: + oldSecretName: OSSRH_S01_USERNAME + newSecretName: SONATYPE_USERNAME + fileMatcher: .github/workflows/*.yml +``` + +Now that `com.yourorg.ReplaceSecretsExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}}` in your build file: + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("com.yourorg.ReplaceSecretsExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}}") +} +``` +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + com.yourorg.ReplaceSecretsExample + + + + + org.openrewrite.recipe + rewrite-github-actions + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} + + + + + + +``` +2. Run `mvn rewrite:run` to run the recipe. + + + +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. + +```shell title="shell" +mod run . --recipe ReplaceSecrets --recipe-option "oldSecretName=OSSRH_S01_USERNAME" --recipe-option "newSecretName=SONATYPE_USERNAME" --recipe-option "fileMatcher=.github/workflows/*.yml" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/gradle/README.md b/docs/recipes/gradle/README.md index 29b12d1e12..af03381c93 100644 --- a/docs/recipes/gradle/README.md +++ b/docs/recipes/gradle/README.md @@ -12,6 +12,7 @@ _Recipes that include further recipes, often including the individual recipes below._ +* [Apply Gradle best practices](./gradlebestpractices.md) * [Migrate to Gradle 6 from Gradle 5](./migratetogradle6.md) * [Migrate to Gradle 7 from Gradle 6](./migratetogradle7.md) * [Migrate to Gradle 8 from Gradle 7](./migratetogradle8.md) diff --git a/docs/recipes/gradle/changedependency.md b/docs/recipes/gradle/changedependency.md index ae383e42a4..ec07b5ea42 100644 --- a/docs/recipes/gradle/changedependency.md +++ b/docs/recipes/gradle/changedependency.md @@ -244,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/gradle/changedependencyclassifier.md b/docs/recipes/gradle/changedependencyclassifier.md index dd97a9390d..552fa23051 100644 --- a/docs/recipes/gradle/changedependencyclassifier.md +++ b/docs/recipes/gradle/changedependencyclassifier.md @@ -213,4 +213,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/changedependencyconfiguration.md b/docs/recipes/gradle/changedependencyconfiguration.md index 4b1c9d9d45..754e411dc3 100644 --- a/docs/recipes/gradle/changedependencyconfiguration.md +++ b/docs/recipes/gradle/changedependencyconfiguration.md @@ -209,4 +209,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/changedependencyextension.md b/docs/recipes/gradle/changedependencyextension.md index 07aaa1e2e1..bba37ad25a 100644 --- a/docs/recipes/gradle/changedependencyextension.md +++ b/docs/recipes/gradle/changedependencyextension.md @@ -213,4 +213,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/dependencyusemapnotation.md b/docs/recipes/gradle/dependencyusemapnotation.md index add7b2815f..dacbefa323 100644 --- a/docs/recipes/gradle/dependencyusemapnotation.md +++ b/docs/recipes/gradle/dependencyusemapnotation.md @@ -224,4 +224,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com) diff --git a/docs/recipes/gradle/dependencyusestringnotation.md b/docs/recipes/gradle/dependencyusestringnotation.md index ee44b92a96..2e156084f0 100644 --- a/docs/recipes/gradle/dependencyusestringnotation.md +++ b/docs/recipes/gradle/dependencyusestringnotation.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.gradle.DependencyUseStringNotation** -_In Gradle, dependencies can be expressed as a `String` like `"groupId:artifactId:version"`, or equivalently as a `Map` like `group: 'groupId', name: 'artifactId', version: 'version'`. This recipe replaces dependencies represented as `Maps` with an equivalent dependency represented as a `String`._ +_In Gradle, dependencies can be expressed as a `String` like `"groupId:artifactId:version"`, or equivalently as a `Map` like `group: 'groupId', name: 'artifactId', version: 'version'`. This recipe replaces dependencies represented as `Maps` with an equivalent dependency represented as a `String`, as recommended per the [Gradle best practices for dependencies to use a single GAV](https://docs.gradle.org/8.14.2/userguide/best_practices_dependencies.html#single-gav-string)._ ## Recipe source @@ -286,4 +286,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Sam Snyder](mailto:sam@moderne.io) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/gradle/gradlebestpractices.md b/docs/recipes/gradle/gradlebestpractices.md new file mode 100644 index 0000000000..6cd9d9f560 --- /dev/null +++ b/docs/recipes/gradle/gradlebestpractices.md @@ -0,0 +1,223 @@ +--- +sidebar_label: "Apply Gradle best practices" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Apply Gradle best practices + +**org.openrewrite.gradle.GradleBestPractices** + +_Apply a set of [Gradle best practices](https://docs.gradle.org/current/userguide/best_practices_general.html) to the build files, for more efficient and ideomatic builds._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Migrate to Gradle 8 from Gradle 7](../gradle/migratetogradle8) +* [Use `String` notation for Gradle dependency declarations](../gradle/dependencyusestringnotation) +* [Enable Gradle build cache](../gradle/enablegradlebuildcache) +* [Enable Gradle parallel execution](../gradle/enablegradleparallelexecution) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.gradle.GradleBestPractices +displayName: Apply Gradle best practices +description: | + Apply a set of [Gradle best practices](https://docs.gradle.org/current/userguide/best_practices_general.html) to the build files, for more efficient and ideomatic builds. +recipeList: + - org.openrewrite.gradle.MigrateToGradle8 + - org.openrewrite.gradle.DependencyUseStringNotation + - org.openrewrite.gradle.EnableGradleBuildCache + - org.openrewrite.gradle.EnableGradleParallelExecution + +``` + + + +## Usage + +This recipe has no required configuration parameters and comes from a rewrite core library. It can be activated directly without adding any dependencies. + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.gradle.GradleBestPractices") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +``` +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:latest.release") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite:rewrite-java") + } + rewrite { + activeRecipe("org.openrewrite.gradle.GradleBestPractices") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +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. + +```shell title="shell" +mod run . --recipe GradleBestPractices +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite:rewrite-gradle:{{VERSION_ORG_OPENREWRITE_REWRITE_GRADLE}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +### Maven metadata failures +**org.openrewrite.maven.table.MavenMetadataFailures** + +_Attempts to resolve maven metadata that failed._ + +| Column Name | Description | +| ----------- | ----------- | +| Group id | The groupId of the artifact for which the metadata download failed. | +| Artifact id | The artifactId of the artifact for which the metadata download failed. | +| Version | The version of the artifact for which the metadata download failed. | +| Maven repository | The URL of the Maven repository that the metadata download failed on. | +| Snapshots | Does the repository support snapshots. | +| Releases | Does the repository support releases. | +| Failure | The reason the metadata download failed. | + + + + + +## Contributors +[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/migratetogradle6.md b/docs/recipes/gradle/migratetogradle6.md index b617108cd7..8e61d68fc2 100644 --- a/docs/recipes/gradle/migratetogradle6.md +++ b/docs/recipes/gradle/migratetogradle6.md @@ -243,4 +243,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/migratetogradle7.md b/docs/recipes/gradle/migratetogradle7.md index 40f2b8c539..13a987cdd5 100644 --- a/docs/recipes/gradle/migratetogradle7.md +++ b/docs/recipes/gradle/migratetogradle7.md @@ -205,4 +205,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/migratetogradle8.md b/docs/recipes/gradle/migratetogradle8.md index af6b02b286..30a8d900e8 100644 --- a/docs/recipes/gradle/migratetogradle8.md +++ b/docs/recipes/gradle/migratetogradle8.md @@ -236,4 +236,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Ryan Walker](mailto:ryanwalker7@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/gradle/removedependency.md b/docs/recipes/gradle/removedependency.md index 50d9622090..c3656287a7 100644 --- a/docs/recipes/gradle/removedependency.md +++ b/docs/recipes/gradle/removedependency.md @@ -210,4 +210,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Sam Snyder](mailto:sam@moderne.io), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/gradle/search/dependencyinsight.md b/docs/recipes/gradle/search/dependencyinsight.md index fbeaf625d1..3301b3fe62 100644 --- a/docs/recipes/gradle/search/dependencyinsight.md +++ b/docs/recipes/gradle/search/dependencyinsight.md @@ -229,4 +229,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Peter Streef](mailto:peter@moderne.io), [Tim te Beek](mailto:tim@moderne.io) +[Sam Snyder](mailto:sam@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Peter Streef](mailto:peter@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/gradle/search/finddependency.md b/docs/recipes/gradle/search/finddependency.md index f951b2d54d..757a7ba369 100644 --- a/docs/recipes/gradle/search/finddependency.md +++ b/docs/recipes/gradle/search/finddependency.md @@ -218,4 +218,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io) +[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io) diff --git a/docs/recipes/gradle/search/findrepository.md b/docs/recipes/gradle/search/findrepository.md index 83aa3f0438..b73eddb198 100644 --- a/docs/recipes/gradle/search/findrepository.md +++ b/docs/recipes/gradle/search/findrepository.md @@ -33,7 +33,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | Parameter | Value | | -- | -- | |type|`null`| -|url|`https://oss.sonatype.org/content/repositories/snapshots`| +|url|`https://central.sonatype.com/repository/maven-snapshots`| |purpose|`null`| @@ -45,18 +45,18 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac ```groovy title="build.gradle" buildscript { repositories { - maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } - maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } - maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } + maven { url = "https://central.sonatype.com/repository/maven-snapshots" } + maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } + maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } + maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } } repositories { - maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } - maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } - maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } + maven { url = "https://central.sonatype.com/repository/maven-snapshots" } + maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } + maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } + maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } ``` @@ -64,18 +64,18 @@ repositories { ```groovy title="build.gradle" buildscript { repositories { - /*~~>*/maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } - /*~~>*/maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - /*~~>*/maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } - /*~~>*/maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } + /*~~>*/maven { url = "https://central.sonatype.com/repository/maven-snapshots" } + /*~~>*/maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } + /*~~>*/maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } + /*~~>*/maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } } repositories { - /*~~>*/maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } - /*~~>*/maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - /*~~>*/maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } - /*~~>*/maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } + /*~~>*/maven { url = "https://central.sonatype.com/repository/maven-snapshots" } + /*~~>*/maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } + /*~~>*/maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } + /*~~>*/maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } ``` @@ -88,26 +88,26 @@ repositories { @@ -3,4 +3,4 @@ buildscript { repositories { -- maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } -- maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } -- maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } -- maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } -+ /*~~>*/maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } -+ /*~~>*/maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } -+ /*~~>*/maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } -+ /*~~>*/maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } +- maven { url = "https://central.sonatype.com/repository/maven-snapshots" } +- maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } +- maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } +- maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } ++ /*~~>*/maven { url = "https://central.sonatype.com/repository/maven-snapshots" } ++ /*~~>*/maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } ++ /*~~>*/maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } ++ /*~~>*/maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } @@ -11,4 +11,4 @@ repositories { -- maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } -- maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } -- maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } -- maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } -+ /*~~>*/maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } -+ /*~~>*/maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } -+ /*~~>*/maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } -+ /*~~>*/maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } +- maven { url = "https://central.sonatype.com/repository/maven-snapshots" } +- maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } +- maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } +- maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } ++ /*~~>*/maven { url = "https://central.sonatype.com/repository/maven-snapshots" } ++ /*~~>*/maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } ++ /*~~>*/maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } ++ /*~~>*/maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } ``` @@ -121,10 +121,10 @@ repositories { ```settingsGradle pluginManagement { repositories { - maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } - maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } - maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } + maven { url = "https://central.sonatype.com/repository/maven-snapshots" } + maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } + maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } + maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } } ``` @@ -133,10 +133,10 @@ pluginManagement { ```settingsGradle pluginManagement { repositories { - /*~~>*/maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } - /*~~>*/maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } - /*~~>*/maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } - /*~~>*/maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } + /*~~>*/maven { url = "https://central.sonatype.com/repository/maven-snapshots" } + /*~~>*/maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } + /*~~>*/maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } + /*~~>*/maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } } ``` @@ -148,14 +148,14 @@ pluginManagement { @@ -3,4 +3,4 @@ pluginManagement { repositories { -- maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } -- maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } -- maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } -- maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } -+ /*~~>*/maven { url = "https://oss.sonatype.org/content/repositories/snapshots" } -+ /*~~>*/maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") } -+ /*~~>*/maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } -+ /*~~>*/maven { setUrl(uri("https://oss.sonatype.org/content/repositories/snapshots")) } +- maven { url = "https://central.sonatype.com/repository/maven-snapshots" } +- maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } +- maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } +- maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } ++ /*~~>*/maven { url = "https://central.sonatype.com/repository/maven-snapshots" } ++ /*~~>*/maven { url = uri("https://central.sonatype.com/repository/maven-snapshots") } ++ /*~~>*/maven { setUrl("https://central.sonatype.com/repository/maven-snapshots") } ++ /*~~>*/maven { setUrl(uri("https://central.sonatype.com/repository/maven-snapshots")) } } ``` diff --git a/docs/recipes/java/addorupdateannotationattribute.md b/docs/recipes/java/addorupdateannotationattribute.md index d722848035..bf7979207f 100644 --- a/docs/recipes/java/addorupdateannotationattribute.md +++ b/docs/recipes/java/addorupdateannotationattribute.md @@ -25,7 +25,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | -- | -- | -- | -- | | `String` | annotationType | The fully qualified name of the annotation. | `org.junit.Test` | | `String` | attributeName | *Optional*. The name of attribute to change. If omitted defaults to 'value'. | `timeout` | -| `String` | attributeValue | *Optional*. The value to set the attribute to. Set to `null` to remove the attribute. | `500` | +| `String` | attributeValue | *Optional*. The value to set the attribute to. If the attribute is an array, provide values separated by comma to add multiple attributes at once. Set to `null` to remove the attribute. | `500` | | `String` | oldAttributeValue | *Optional*. The current value of the attribute, this can be used to filter where the change is applied. Set to `null` for wildcard behavior. | `400` | | `Boolean` | addOnly | *Optional*. When set to `true` will not change existing annotation attribute values. | | | `Boolean` | appendArray | *Optional*. If the attribute is an array, setting this option to `true` will append the value(s). In conjunction with `addOnly`, it is possible to control duplicates: `addOnly=true`, always append. `addOnly=false`, only append if the value is not already present. | | @@ -178,4 +178,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Marcel Reiter, [Filipe Roque](mailto:froque@premium-minds.com), [Tim te Beek](mailto:tim@moderne.io), SiBorea, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io), Daniel Shamis +[Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Filipe Roque](mailto:froque@premium-minds.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li, SiBorea, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), Marcel Reiter, [JohannisK](mailto:johan.kragt@moderne.io), Daniel Shamis diff --git a/docs/recipes/java/deletemethodargument.md b/docs/recipes/java/deletemethodargument.md index ac58dedc0a..30d7caaac0 100644 --- a/docs/recipes/java/deletemethodargument.md +++ b/docs/recipes/java/deletemethodargument.md @@ -172,4 +172,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Thomas Zub](mailto:thomas.zub@outlook.de), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:tim@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Pierre Delagrave](mailto:pierre.delagrave@gmail.com), Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Thomas Zub](mailto:thomas.zub@outlook.de), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/dependencies/changedependency.md b/docs/recipes/java/dependencies/changedependency.md index 8a6762301c..092f13a761 100644 --- a/docs/recipes/java/dependencies/changedependency.md +++ b/docs/recipes/java/dependencies/changedependency.md @@ -32,9 +32,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | `Boolean` | overrideManagedVersion | *Optional*. If the new dependency has a managed version, this flag can be used to explicitly set the version on the dependency. The default for this flag is `false`. | | | `Boolean` | changeManagedDependency | *Optional*. Also update the dependency management section. The default for this flag is `true`. | | -## Examples -##### Example 1 -Change Gradle dependency +## Example ###### Parameters | Parameter | Value | @@ -99,80 +97,6 @@ dependencies { ---- - -##### Example 2 -Change Maven dependency - -###### Parameters -| Parameter | Value | -| -- | -- | -|oldGroupId|`commons-lang`| -|oldArtifactId|`commons-lang`| -|newGroupId|`org.apache.commons`| -|newArtifactId|`commons-lang3`| -|newVersion|`3.11.x`| -|versionPattern|`null`| -|overrideManagedVersion|`null`| -|changeManagedDependency|`null`| - - - - - - -###### Before -```xml title="pom.xml" - - com.example.app - my-app - 1 - - - commons-lang - commons-lang - 2.6 - - - -``` - -###### After -```xml title="pom.xml" - - com.example.app - my-app - 1 - - - org.apache.commons - commons-lang3 - 3.11 - - - -``` - - - - -```diff ---- pom.xml -+++ pom.xml -@@ -7,3 +7,3 @@ - - -- commons-lang -- commons-lang -- 2.6 -+ org.apache.commons -+ commons-lang3 -+ 3.11 - -``` - - - ## Usage diff --git a/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md b/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md index 6e3fc255fa..587c34ec36 100644 --- a/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md +++ b/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.dependencies.DependencyVulnerabilityCheck** -_This software composition analysis (SCA) tool detects and upgrades dependencies with publicly disclosed vulnerabilities. This recipe both generates a report of vulnerable dependencies and upgrades to newer versions with fixes. This recipe by default only upgrades to the latest **patch** version. If a minor or major upgrade is required to reach the fixed version, this can be controlled using the `maximumUpgradeDelta` option. Vulnerability information comes from the [GitHub Security Advisory Database](https://docs.github.com/en/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database), which aggregates vulnerability data from several public databases, including the [National Vulnerability Database](https://nvd.nist.gov/) maintained by the United States government. Upgrades dependencies versioned according to [Semantic Versioning](https://semver.org/). Last updated: 2025-06-23T1102._ +_This software composition analysis (SCA) tool detects and upgrades dependencies with publicly disclosed vulnerabilities. This recipe both generates a report of vulnerable dependencies and upgrades to newer versions with fixes. This recipe by default only upgrades to the latest **patch** version. If a minor or major upgrade is required to reach the fixed version, this can be controlled using the `maximumUpgradeDelta` option. Vulnerability information comes from the [GitHub Security Advisory Database](https://docs.github.com/en/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database), which aggregates vulnerability data from several public databases, including the [National Vulnerability Database](https://nvd.nist.gov/) maintained by the United States government. Upgrades dependencies versioned according to [Semantic Versioning](https://semver.org/). Last updated: 2025-07-07T1102._ ## Recipe source diff --git a/docs/recipes/java/dependencies/removedependency.md b/docs/recipes/java/dependencies/removedependency.md index 9c4b8db1d8..193f7431b9 100644 --- a/docs/recipes/java/dependencies/removedependency.md +++ b/docs/recipes/java/dependencies/removedependency.md @@ -29,9 +29,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | `String` | configuration | *Optional*. The dependency configuration to remove from. | `api` | | `String` | scope | *Optional*. Only remove dependencies if they are in this scope. If 'runtime', this willalso remove dependencies in the 'compile' scope because 'compile' dependencies are part of the runtime dependency set Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | -## Examples -##### Example 1 -Remove a Gradle dependency +## Example ###### Parameters | Parameter | Value | @@ -97,89 +95,6 @@ dependencies { ---- - -##### Example 2 -Remove a Maven dependency - -###### Parameters -| Parameter | Value | -| -- | -- | -|groupId|`junit`| -|artifactId|`junit`| -|unlessUsing|`null`| -|configuration|`null`| -|scope|`null`| - - - - - - -###### Before -```xml title="pom.xml" - - 4.0.0 - - com.mycompany.app - my-app - 1 - - - - com.google.guava - guava - 29.0-jre - - - junit - junit - 4.13.1 - test - - - -``` - -###### After -```xml title="pom.xml" - - 4.0.0 - - com.mycompany.app - my-app - 1 - - - - com.google.guava - guava - 29.0-jre - - - -``` - - - - -```diff ---- pom.xml -+++ pom.xml -@@ -14,6 +14,0 @@ - 29.0-jre - -- -- junit -- junit -- 4.13.1 -- test -- - -``` - - - ## Usage diff --git a/docs/recipes/java/dependencies/removeunuseddependencies.md b/docs/recipes/java/dependencies/removeunuseddependencies.md index 5da0bc11c7..d3d34e746c 100644 --- a/docs/recipes/java/dependencies/removeunuseddependencies.md +++ b/docs/recipes/java/dependencies/removeunuseddependencies.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.dependencies.RemoveUnusedDependencies** -_Scans through source code collecting references to types and methods, removing any dependencies that are not used from Maven or Gradle build files. This is a complex recipe which has not yet been well tested and exercised. For now it should be treated as making recommendations to further investigate._ +_Scans through source code collecting references to types and methods, removing any dependencies that are not used from Maven or Gradle build files. This recipe takes reflective access into account: When reflective access to a class is made unambiguously via a string literal, such as: `Class.forName("java.util.List")` that is counted correctly.When reflective access to a class is made ambiguously via anything other than a string literal no dependencies will be removed. This recipe takes transitive dependencies into account: When a direct dependency is not used but a transitive dependency it brings in _is_ in use the direct dependency is not removed._ ## Recipe source diff --git a/docs/recipes/java/dependencies/upgradedependencyversion.md b/docs/recipes/java/dependencies/upgradedependencyversion.md index f019b09378..5d86cf78fc 100644 --- a/docs/recipes/java/dependencies/upgradedependencyversion.md +++ b/docs/recipes/java/dependencies/upgradedependencyversion.md @@ -30,9 +30,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | `Boolean` | overrideManagedVersion | *Optional*. For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`. | | | `List` | retainVersions | *Optional*. For Maven project only, accepts a list of GAVs. For each GAV, if it is a project direct dependency, and it is removed from dependency management after the changes from this recipe, then it will be retained with an explicit version. The version can be omitted from the GAV to use the old value from dependency management. | `com.jcraft:jsch` | -## Examples -##### Example 1 -Upgrade gradle dependency +## Example ###### Parameters | Parameter | Value | @@ -99,80 +97,6 @@ dependencies { ---- - -##### Example 2 -Upgrade maven dependency version - -###### Parameters -| Parameter | Value | -| -- | -- | -|groupId|`org.junit.jupiter`| -|artifactId|`junit-jupiter-api`| -|newVersion|`5.7.2`| -|versionPattern|`null`| -|overrideManagedVersion|`null`| -|retainVersions|`null`| - - - - - - -###### Before -```xml title="pom.xml" - - com.mycompany.app - my-app - 1 - - - - org.junit.jupiter - junit-jupiter-api - 5.6.2 - test - - - - -``` - -###### After -```xml title="pom.xml" - - com.mycompany.app - my-app - 1 - - - - org.junit.jupiter - junit-jupiter-api - 5.7.2 - test - - - - -``` - - - - -```diff ---- pom.xml -+++ pom.xml -@@ -10,1 +10,1 @@ - org.junit.jupiter - junit-jupiter-api -- 5.6.2 -+ 5.7.2 - test -``` - - - ## Usage diff --git a/docs/recipes/java/flyway/README.md b/docs/recipes/java/flyway/README.md index 9f44074410..c21884aec1 100644 --- a/docs/recipes/java/flyway/README.md +++ b/docs/recipes/java/flyway/README.md @@ -7,6 +7,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Add missing Flyway module for MySQL](./addflywaymodulemysql.md) * [Add missing Flyway module for Oracle](./addflywaymoduleoracle.md) * [Add missing Flyway module for PostgreSQL](./addflywaymodulepostgresql.md) +* [Add missing Flyway module for SQL Server](./addflywaymodulesqlserver.md) * [Migrate to Flyway 10](./migratetoflyway10.md) diff --git a/docs/recipes/java/flyway/addflywaymodulesqlserver.md b/docs/recipes/java/flyway/addflywaymodulesqlserver.md new file mode 100644 index 0000000000..1318e03d40 --- /dev/null +++ b/docs/recipes/java/flyway/addflywaymodulesqlserver.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Add missing Flyway module for SQL Server" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add missing Flyway module for SQL Server + +**org.openrewrite.java.flyway.AddFlywayModuleSqlServer** + +_Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-sqlserver` dependency if you are using SQL Server with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780._ + +### Tags + +* sqlserver +* flyway + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/flyway-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Definition + + + +* [Add Gradle or Maven dependency](../../java/dependencies/adddependency) + * groupId: `org.flywaydb` + * artifactId: `flyway-sqlserver` + * acceptTransitive: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.flyway.AddFlywayModuleSqlServer +displayName: Add missing Flyway module for SQL Server +description: | + Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-sqlserver` dependency if you are using SQL Server with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +tags: + - sqlserver + - flyway +recipeList: + - org.openrewrite.java.dependencies.AddDependency: + groupId: org.flywaydb + artifactId: flyway-sqlserver + acceptTransitive: true + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.flyway.AddFlywayModuleSqlServer") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}}") + } + rewrite { + activeRecipe("org.openrewrite.java.flyway.AddFlywayModuleSqlServer") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.flyway.AddFlywayModuleSqlServer + + + + + org.openrewrite.recipe + rewrite-spring + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.flyway.AddFlywayModuleSqlServer -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe AddFlywayModuleSqlServer +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/flyway/migratetoflyway10.md b/docs/recipes/java/flyway/migratetoflyway10.md index 8e7f939819..ce6b6baff9 100644 --- a/docs/recipes/java/flyway/migratetoflyway10.md +++ b/docs/recipes/java/flyway/migratetoflyway10.md @@ -35,6 +35,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Add missing Flyway module for PostgreSQL](../../java/flyway/addflywaymodulepostgresql) * [Add missing Flyway module for MySQL](../../java/flyway/addflywaymodulemysql) * [Add missing Flyway module for Oracle](../../java/flyway/addflywaymoduleoracle) +* [Add missing Flyway module for SQL Server](../../java/flyway/addflywaymodulesqlserver) @@ -53,6 +54,7 @@ recipeList: - org.openrewrite.java.flyway.AddFlywayModulePostgreSQL - org.openrewrite.java.flyway.AddFlywayModuleMySQL - org.openrewrite.java.flyway.AddFlywayModuleOracle + - org.openrewrite.java.flyway.AddFlywayModuleSqlServer ``` diff --git a/docs/recipes/java/jackson/README.md b/docs/recipes/java/jackson/README.md index 646115dc89..4164fe5102 100644 --- a/docs/recipes/java/jackson/README.md +++ b/docs/recipes/java/jackson/README.md @@ -1,6 +1,6 @@ # Jackson -_Recipes to perform [Jackson](https://fasterxml.com/) migration tasks._ +_Recipes to perform [Jackson](https://github.com/FasterXML/jackson) migration tasks._ ## Categories @@ -12,5 +12,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate classes from Jackson Codehaus (legacy) to Jackson FasterXML](./codehausclassestofasterxml.md) * [Migrate from Jackson Codehaus (legacy) to Jackson FasterXML](./codehaustofasterxml.md) +* [Migrates Jackson 2.x base exceptions to Jackson 3.x base exceptions](./upgradejackson_2_and_3_base_exceptions.md) +* [Migrates from Jackson 2.x to Jackson 3.x](./upgradejackson_2_3.md) diff --git a/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md b/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md index 9b23a3f859..9c73e33f58 100644 --- a/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md +++ b/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md @@ -13,10 +13,15 @@ _Replace Codehaus Jackson dependencies with FasterXML Jackson dependencies, and ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/CodehausDependencyToFasterXML.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Options @@ -24,6 +29,65 @@ This recipe is available under the [Moderne Proprietary License](https://docs.mo | -- | -- | -- | -- | | `String` | version | *Optional*. The version of Codehaus Jackson to replace. | `2.x` | + +## Definition + + + +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `org.codehaus.jackson` + * oldArtifactId: `jackson-core-asl` + * newGroupId: `com.fasterxml.jackson.core` + * newArtifactId: `jackson-core` + * newVersion: `2.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `org.codehaus.jackson` + * oldArtifactId: `jackson-mapper-asl` + * newGroupId: `com.fasterxml.jackson.core` + * newArtifactId: `jackson-databind` + * newVersion: `2.x` +* [Add Gradle or Maven dependency](../../../java/dependencies/adddependency) + * groupId: `com.fasterxml.jackson.core` + * artifactId: `jackson-databind` + * version: `2.x` + * onlyIfUsing: `com.fasterxml.jackson.databind.*` + * acceptTransitive: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.jackson.codehaus.CodehausDependencyToFasterXML +displayName: Migrate dependencies from Jackson Codehaus (legacy) to FasterXML +description: | + Replace Codehaus Jackson dependencies with FasterXML Jackson dependencies, and add databind if needed. + +recipeList: + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.codehaus.jackson + oldArtifactId: jackson-core-asl + newGroupId: com.fasterxml.jackson.core + newArtifactId: jackson-core + newVersion: 2.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.codehaus.jackson + oldArtifactId: jackson-mapper-asl + newGroupId: com.fasterxml.jackson.core + newArtifactId: jackson-databind + newVersion: 2.x + - org.openrewrite.java.dependencies.AddDependency: + groupId: com.fasterxml.jackson.core + artifactId: jackson-databind + version: 2.x + onlyIfUsing: com.fasterxml.jackson.databind.* + acceptTransitive: true + +``` + + ## Example ###### Parameters @@ -57,10 +121,112 @@ This recipe is available under the [Moderne Proprietary License](https://docs.mo ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.CodehausDependencyToFasterXML") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.CodehausDependencyToFasterXML") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.codehaus.CodehausDependencyToFasterXML + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.codehaus.CodehausDependencyToFasterXML -Drewrite.exportDatatables=true +``` + 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. @@ -145,4 +311,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md b/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md index c4f458e92a..c08a8b55b9 100644 --- a/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md +++ b/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md @@ -13,10 +13,11 @@ _Move Codehaus' `@JsonSerialize.include` argument to FasterXMLs `@JsonInclude` a ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/JsonIncludeAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) - -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Example @@ -75,10 +76,112 @@ class Test { ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.JsonIncludeAnnotation") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.JsonIncludeAnnotation") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.codehaus.JsonIncludeAnnotation + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.codehaus.JsonIncludeAnnotation -Drewrite.exportDatatables=true +``` + 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. @@ -163,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md b/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md index 3a52785597..5d653e5988 100644 --- a/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md +++ b/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md @@ -13,10 +13,11 @@ _Remove Codehaus Jackson annotations if they are doubly annotated with Jackson a ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/RemoveDoublyAnnotatedCodehausAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) - -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Example @@ -72,10 +73,112 @@ class Test { ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.RemoveDoublyAnnotatedCodehausAnnotations") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.RemoveDoublyAnnotatedCodehausAnnotations") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.codehaus.RemoveDoublyAnnotatedCodehausAnnotations + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.codehaus.RemoveDoublyAnnotatedCodehausAnnotations -Drewrite.exportDatatables=true +``` + 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. @@ -160,4 +263,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md b/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md index 37802893aa..f957672485 100644 --- a/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md +++ b/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md @@ -13,18 +13,121 @@ _Migrate serialization annotation processor to use the codehaus config method._ ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/ReplaceSerializationConfigAnnotationIntrospector.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) - -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.ReplaceSerializationConfigAnnotationIntrospector") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.ReplaceSerializationConfigAnnotationIntrospector") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.codehaus.ReplaceSerializationConfigAnnotationIntrospector + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.codehaus.ReplaceSerializationConfigAnnotationIntrospector -Drewrite.exportDatatables=true +``` + 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. @@ -109,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md b/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md index 64329a017d..c7824835e7 100644 --- a/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md +++ b/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md @@ -13,18 +13,121 @@ _Transfer @JsonSerialize annotation arguments (using, contentUsing, keyUsing, nu ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/TransferJsonSerializeArgumentsFromCodehausToFasterXML.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) - -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.TransferJsonSerializeArgumentsFromCodehausToFasterXML") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.codehaus.TransferJsonSerializeArgumentsFromCodehausToFasterXML") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.codehaus.TransferJsonSerializeArgumentsFromCodehausToFasterXML + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.codehaus.TransferJsonSerializeArgumentsFromCodehausToFasterXML -Drewrite.exportDatatables=true +``` + 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. @@ -109,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/codehausclassestofasterxml.md b/docs/recipes/java/jackson/codehausclassestofasterxml.md index 8f4627313f..e4184b118b 100644 --- a/docs/recipes/java/jackson/codehausclassestofasterxml.md +++ b/docs/recipes/java/jackson/codehausclassestofasterxml.md @@ -13,18 +13,243 @@ _In Jackson 2, the package and dependency coordinates moved from Codehaus to Fas ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/resources/META-INF/rewrite/codehaus-to-fasterxml.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Migrate to Jackson `@JsonInclude`](../../java/jackson/codehaus/jsonincludeannotation) +* [Migrate serialization annotation processor](../../java/jackson/codehaus/replaceserializationconfigannotationintrospector) +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.JsonSerializer` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.JsonSerializer` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.annotate.JsonSerialize$Inclusion` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.annotation.JsonInclude$Include` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.annotate.JsonSerialize` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.annotation.JsonSerialize` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.AnnotationIntrospector` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.AnnotationIntrospector` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.xc.JaxbAnnotationIntrospector` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.introspect.JacksonAnnotationIntrospector` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.AnnotationIntrospector.Pair` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.introspect.NopAnnotationIntrospector` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.ObjectMapper` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.ObjectMapper` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.SerializationConfig$Feature` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.SerializationFeature` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.codehaus.jackson.map.DeserializationConfig$Feature` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.DeserializationFeature` +* [Rename package name](../../java/changepackage) + * oldPackageName: `org.codehaus.jackson.annotate` + * newPackageName: `com.fasterxml.jackson.annotation` + * recursive: `true` +* [Rename package name](../../java/changepackage) + * oldPackageName: `org.codehaus.jackson.map.ext` + * newPackageName: `com.fasterxml.jackson.databind.ext` + * recursive: `true` +* [Rename package name](../../java/changepackage) + * oldPackageName: `org.codehaus.jackson.map.ser` + * newPackageName: `com.fasterxml.jackson.databind.ser` + * recursive: `true` +* [Add imports for fully qualified references to types](../../java/shortenfullyqualifiedtypereferences) + -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.jackson.CodehausClassesToFasterXML +displayName: Migrate classes from Jackson Codehaus (legacy) to Jackson FasterXML +description: | + In Jackson 2, the package and dependency coordinates moved from Codehaus to FasterXML. +recipeList: + - org.openrewrite.java.jackson.codehaus.JsonIncludeAnnotation + - org.openrewrite.java.jackson.codehaus.ReplaceSerializationConfigAnnotationIntrospector + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.JsonSerializer + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.JsonSerializer + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.annotate.JsonSerialize$Inclusion + newFullyQualifiedTypeName: com.fasterxml.jackson.annotation.JsonInclude$Include + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.annotate.JsonSerialize + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.annotation.JsonSerialize + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.AnnotationIntrospector + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.AnnotationIntrospector + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.xc.JaxbAnnotationIntrospector + newFullyQualifiedTypeName: com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.introspect.JacksonAnnotationIntrospector + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.AnnotationIntrospector.Pair + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.introspect.NopAnnotationIntrospector + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.ObjectMapper + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.ObjectMapper + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.SerializationConfig$Feature + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.SerializationFeature + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.codehaus.jackson.map.DeserializationConfig$Feature + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.DeserializationFeature + - org.openrewrite.java.ChangePackage: + oldPackageName: org.codehaus.jackson.annotate + newPackageName: com.fasterxml.jackson.annotation + recursive: true + - org.openrewrite.java.ChangePackage: + oldPackageName: org.codehaus.jackson.map.ext + newPackageName: com.fasterxml.jackson.databind.ext + recursive: true + - org.openrewrite.java.ChangePackage: + oldPackageName: org.codehaus.jackson.map.ser + newPackageName: com.fasterxml.jackson.databind.ser + recursive: true + - org.openrewrite.java.ShortenFullyQualifiedTypeReferences + +``` + + ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.CodehausClassesToFasterXML") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.CodehausClassesToFasterXML") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.CodehausClassesToFasterXML + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.CodehausClassesToFasterXML -Drewrite.exportDatatables=true +``` + 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. @@ -109,4 +334,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/codehaustofasterxml.md b/docs/recipes/java/jackson/codehaustofasterxml.md index d6d90aae1b..37b3429dc6 100644 --- a/docs/recipes/java/jackson/codehaustofasterxml.md +++ b/docs/recipes/java/jackson/codehaustofasterxml.md @@ -13,11 +13,48 @@ _In Jackson 2, the package and dependency coordinates moved from Codehaus to Fas ## Recipe source -This recipe is only available to users of [Moderne](https://docs.moderne.io/). +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/resources/META-INF/rewrite/codehaus-to-fasterxml.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: -This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + +## Definition + + + +* [Remove Codehaus Jackson annotations if doubly annotated](../../java/jackson/codehaus/removedoublyannotatedcodehausannotations) +* [Transfer @JsonSerialize arguments from Codehaus to FasterXML](../../java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml) +* [Migrate classes from Jackson Codehaus (legacy) to Jackson FasterXML](../../java/jackson/codehausclassestofasterxml) +* [Migrate dependencies from Jackson Codehaus (legacy) to FasterXML](../../java/jackson/codehaus/codehausdependencytofasterxml) + * version: `2.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.jackson.CodehausToFasterXML +displayName: Migrate from Jackson Codehaus (legacy) to Jackson FasterXML +description: | + In Jackson 2, the package and dependency coordinates moved from Codehaus to FasterXML. +recipeList: + - org.openrewrite.java.jackson.codehaus.RemoveDoublyAnnotatedCodehausAnnotations + - org.openrewrite.java.jackson.codehaus.TransferJsonSerializeArgumentsFromCodehausToFasterXML + - org.openrewrite.java.jackson.CodehausClassesToFasterXML + - org.openrewrite.java.jackson.codehaus.CodehausDependencyToFasterXML: + version: 2.x + +``` + + ## Examples ##### Example 1 @@ -130,10 +167,112 @@ class Test { ## Usage -This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.CodehausToFasterXML") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.CodehausToFasterXML") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.CodehausToFasterXML + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.CodehausToFasterXML -Drewrite.exportDatatables=true +``` + 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. @@ -218,4 +357,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/jackson/upgradejackson_2_3.md b/docs/recipes/java/jackson/upgradejackson_2_3.md new file mode 100644 index 0000000000..31ccccb29a --- /dev/null +++ b/docs/recipes/java/jackson/upgradejackson_2_3.md @@ -0,0 +1,553 @@ +--- +sidebar_label: "Migrates from Jackson 2.x to Jackson 3.x" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrates from Jackson 2.x to Jackson 3.x + +**org.openrewrite.java.jackson.UpgradeJackson\_2\_3** + +_Migrate applications to the latest Jackson 3.x release._ + +### Tags + +* jackson + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/resources/META-INF/rewrite/jackson-2-3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Migrates Jackson 2.x base exceptions to Jackson 3.x base exceptions](../../java/jackson/upgradejackson_2_and_3_base_exceptions) +* [Upgrade Gradle or Maven dependency versions](../../java/dependencies/upgradedependencyversion) + * groupId: `com.fasterxml.jackson.core` + * artifactId: `jackson-annotations` + * newVersion: `3.0-rc5` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `com.fasterxml.jackson.core` + * oldArtifactId: `jackson-core` + * newGroupId: `tools.jackson.core` + * newArtifactId: `jackson-core` + * newVersion: `3.0.0-rc5` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `com.fasterxml.jackson.core` + * oldArtifactId: `jackson-databind` + * newGroupId: `tools.jackson.core` + * newArtifactId: `jackson-databind` + * newVersion: `3.0.0-rc5` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `com.fasterxml.jackson.module` + * oldArtifactId: `jackson-module-parameter-names` + * newGroupId: `tools.jackson.core` + * newArtifactId: `jackson-databind` + * newVersion: `3.0.0-rc5` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `com.fasterxml.jackson.datatype` + * oldArtifactId: `jackson-datatype-jdk8` + * newGroupId: `tools.jackson.core` + * newArtifactId: `jackson-databind` + * newVersion: `3.0.0-rc5` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `com.fasterxml.jackson.datatype` + * oldArtifactId: `jackson-datatype-jsr310` + * newGroupId: `tools.jackson.core` + * newArtifactId: `jackson-databind` + * newVersion: `3.0.0-rc5` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `com.fasterxml.jackson.core.JsonParseException` + * newFullyQualifiedTypeName: `tools.jackson.core.StreamReadException` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `com.fasterxml.jackson.core.JsonGenerationException` + * newFullyQualifiedTypeName: `tools.jackson.core.StreamWriteException` +* [Rename package name](../../java/changepackage) + * oldPackageName: `com.fasterxml.jackson.core` + * newPackageName: `tools.jackson.core` + * recursive: `true` +* [Rename package name](../../java/changepackage) + * oldPackageName: `com.fasterxml.jackson.databind` + * newPackageName: `tools.jackson.databind` + * recursive: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.jackson.UpgradeJackson_2_3 +displayName: Migrates from Jackson 2.x to Jackson 3.x +description: | + Migrate applications to the latest Jackson 3.x release. +tags: + - jackson +recipeList: + - org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: com.fasterxml.jackson.core + artifactId: jackson-annotations + newVersion: 3.0-rc5 + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.fasterxml.jackson.core + oldArtifactId: jackson-core + newGroupId: tools.jackson.core + newArtifactId: jackson-core + newVersion: 3.0.0-rc5 + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.fasterxml.jackson.core + oldArtifactId: jackson-databind + newGroupId: tools.jackson.core + newArtifactId: jackson-databind + newVersion: 3.0.0-rc5 + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.fasterxml.jackson.module + oldArtifactId: jackson-module-parameter-names + newGroupId: tools.jackson.core + newArtifactId: jackson-databind + newVersion: 3.0.0-rc5 + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.fasterxml.jackson.datatype + oldArtifactId: jackson-datatype-jdk8 + newGroupId: tools.jackson.core + newArtifactId: jackson-databind + newVersion: 3.0.0-rc5 + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.fasterxml.jackson.datatype + oldArtifactId: jackson-datatype-jsr310 + newGroupId: tools.jackson.core + newArtifactId: jackson-databind + newVersion: 3.0.0-rc5 + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: com.fasterxml.jackson.core.JsonParseException + newFullyQualifiedTypeName: tools.jackson.core.StreamReadException + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: com.fasterxml.jackson.core.JsonGenerationException + newFullyQualifiedTypeName: tools.jackson.core.StreamWriteException + - org.openrewrite.java.ChangePackage: + oldPackageName: com.fasterxml.jackson.core + newPackageName: tools.jackson.core + recursive: true + - org.openrewrite.java.ChangePackage: + oldPackageName: com.fasterxml.jackson.databind + newPackageName: tools.jackson.databind + recursive: true + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```java +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.JsonFactory; +import com.fasterxml.jackson.core.JsonFactoryBuilder; +import com.fasterxml.jackson.databind.ObjectMapper; + +class Test { + public String foo(@JsonProperty("foo") String foo) { + return foo; + } + + static void helloJackson() { + Object[] input = new Object[] { "one", "two" }; + JsonFactory factory = new JsonFactoryBuilder().build(); + } +} +``` + +###### After +```java +import com.fasterxml.jackson.annotation.JsonProperty; +import tools.jackson.core.JsonFactory; +import tools.jackson.core.JsonFactoryBuilder; +import tools.jackson.databind.ObjectMapper; + +class Test { + public String foo(@JsonProperty("foo") String foo) { + return foo; + } + + static void helloJackson() { + Object[] input = new Object[] { "one", "two" }; + JsonFactory factory = new JsonFactoryBuilder().build(); + } +} +``` + + + + +```diff +@@ -2,3 +2,3 @@ +import com.fasterxml.jackson.annotation.JsonProperty; +-import com.fasterxml.jackson.core.JsonFactory; +-import com.fasterxml.jackson.core.JsonFactoryBuilder; +-import com.fasterxml.jackson.databind.ObjectMapper; ++import tools.jackson.core.JsonFactory; ++import tools.jackson.core.JsonFactoryBuilder; ++import tools.jackson.databind.ObjectMapper; + +``` + + + +###### Unchanged +```xml title="pom.xml" + + 4.0.0 + org.example + example + 1.0.0 + + + com.fasterxml.jackson.core + jackson-annotations + 2.19.0 + + + com.fasterxml.jackson.core + jackson-core + 2.19.0 + + + com.fasterxml.jackson.core + jackson-databind + 2.19.0 + + + com.fasterxml.jackson.module + jackson-module-parameter-names + 2.19.0 + + + com.fasterxml.jackson.datatype + jackson-datatype-jdk8 + 2.19.0 + + + com.fasterxml.jackson.datatype + jackson-datatype-jsr310 + 2.19.0 + + + +``` + +--- + +##### Example 2 + + + + + + +###### Before +```java +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.JsonFactory; +import com.fasterxml.jackson.core.JsonFactoryBuilder; +import com.fasterxml.jackson.databind.ObjectMapper; + +class Test { + public String foo(@JsonProperty("foo") String foo) { + return foo; + } + + static void helloJackson() { + Object[] input = new Object[] { "one", "two" }; + JsonFactory factory = new JsonFactoryBuilder().build(); + } +} +``` + +###### After +```java +import com.fasterxml.jackson.annotation.JsonProperty; +import tools.jackson.core.JsonFactory; +import tools.jackson.core.JsonFactoryBuilder; +import tools.jackson.databind.ObjectMapper; + +class Test { + public String foo(@JsonProperty("foo") String foo) { + return foo; + } + + static void helloJackson() { + Object[] input = new Object[] { "one", "two" }; + JsonFactory factory = new JsonFactoryBuilder().build(); + } +} +``` + + + + +```diff +@@ -2,3 +2,3 @@ +import com.fasterxml.jackson.annotation.JsonProperty; +-import com.fasterxml.jackson.core.JsonFactory; +-import com.fasterxml.jackson.core.JsonFactoryBuilder; +-import com.fasterxml.jackson.databind.ObjectMapper; ++import tools.jackson.core.JsonFactory; ++import tools.jackson.core.JsonFactoryBuilder; ++import tools.jackson.databind.ObjectMapper; + +``` + + + +###### Unchanged +```xml title="pom.xml" + + 4.0.0 + org.example + example + 1.0.0 + + + com.fasterxml.jackson.core + jackson-annotations + 2.19.0 + + + com.fasterxml.jackson.core + jackson-core + 2.19.0 + + + com.fasterxml.jackson.core + jackson-databind + 2.19.0 + + + com.fasterxml.jackson.module + jackson-module-parameter-names + 2.19.0 + + + com.fasterxml.jackson.datatype + jackson-datatype-jdk8 + 2.19.0 + + + com.fasterxml.jackson.datatype + jackson-datatype-jsr310 + 2.19.0 + + + +``` + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.UpgradeJackson_2_3") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.UpgradeJackson_2_3") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.UpgradeJackson_2_3 + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.UpgradeJackson_2_3 -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe UpgradeJackson_2_3 +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/jackson/upgradejackson_2_and_3_base_exceptions.md b/docs/recipes/java/jackson/upgradejackson_2_and_3_base_exceptions.md new file mode 100644 index 0000000000..97ea538aa0 --- /dev/null +++ b/docs/recipes/java/jackson/upgradejackson_2_and_3_base_exceptions.md @@ -0,0 +1,421 @@ +--- +sidebar_label: "Migrates Jackson 2.x base exceptions to Jackson 3.x base exceptions" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrates Jackson 2.x base exceptions to Jackson 3.x base exceptions + +**org.openrewrite.java.jackson.UpgradeJackson\_2\_And\_3\_Base\_Exceptions** + +_Jackson 3 contains new base exceptions which were also backported to 2.x. This recipe will migrate usage to the new base exceptions to prepare for a 3.x upgrade._ + +### Tags + +* jackson + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/resources/META-INF/rewrite/jackson-2-and-3-base-exceptions.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `com.fasterxml.jackson.core.JsonProcessingException` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.core.JacksonException` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `com.fasterxml.jackson.databind.JsonMappingException` + * newFullyQualifiedTypeName: `com.fasterxml.jackson.databind.DatabindException` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions +displayName: Migrates Jackson 2.x base exceptions to Jackson 3.x base exceptions +description: | + Jackson 3 contains new base exceptions which were also backported to 2.x. This recipe will migrate usage to the new base exceptions to prepare for a 3.x upgrade. +tags: + - jackson +recipeList: + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: com.fasterxml.jackson.core.JsonProcessingException + newFullyQualifiedTypeName: com.fasterxml.jackson.core.JacksonException + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: com.fasterxml.jackson.databind.JsonMappingException + newFullyQualifiedTypeName: com.fasterxml.jackson.databind.DatabindException + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```java +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.ObjectMapper; + +class Test { + static void helloJackson() { + ObjectMapper objectMapper = new ObjectMapper(); + Object object = new Object(); + try { + String json = objectMapper.writeValueAsString(object); + try { + objectMapper.readValue(json, Object.class); + } catch (JsonMappingException e) { + throw new RuntimeException(e); + } + } catch (JsonProcessingException e) { + throw new RuntimeException(e); + } + } +} +``` + +###### After +```java +import com.fasterxml.jackson.core.JacksonException; +import com.fasterxml.jackson.databind.DatabindException; +import com.fasterxml.jackson.databind.ObjectMapper; + +class Test { + static void helloJackson() { + ObjectMapper objectMapper = new ObjectMapper(); + Object object = new Object(); + try { + String json = objectMapper.writeValueAsString(object); + try { + objectMapper.readValue(json, Object.class); + } catch (DatabindException e) { + throw new RuntimeException(e); + } + } catch (JacksonException e) { + throw new RuntimeException(e); + } + } +} +``` + + + + +```diff +@@ -1,2 +1,2 @@ +-import com.fasterxml.jackson.core.JsonProcessingException; +-import com.fasterxml.jackson.databind.JsonMappingException; ++import com.fasterxml.jackson.core.JacksonException; ++import com.fasterxml.jackson.databind.DatabindException; +import com.fasterxml.jackson.databind.ObjectMapper; +@@ -13,1 +13,1 @@ + try { + objectMapper.readValue(json, Object.class); +- } catch (JsonMappingException e) { ++ } catch (DatabindException e) { + throw new RuntimeException(e); +@@ -16,1 +16,1 @@ + throw new RuntimeException(e); + } +- } catch (JsonProcessingException e) { ++ } catch (JacksonException e) { + throw new RuntimeException(e); +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```java +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.ObjectMapper; + +class Test { + static void helloJackson() { + ObjectMapper objectMapper = new ObjectMapper(); + Object object = new Object(); + try { + String json = objectMapper.writeValueAsString(object); + try { + objectMapper.readValue(json, Object.class); + } catch (JsonMappingException e) { + throw new RuntimeException(e); + } + } catch (JsonProcessingException e) { + throw new RuntimeException(e); + } + } +} +``` + +###### After +```java +import com.fasterxml.jackson.core.JacksonException; +import com.fasterxml.jackson.databind.DatabindException; +import com.fasterxml.jackson.databind.ObjectMapper; + +class Test { + static void helloJackson() { + ObjectMapper objectMapper = new ObjectMapper(); + Object object = new Object(); + try { + String json = objectMapper.writeValueAsString(object); + try { + objectMapper.readValue(json, Object.class); + } catch (DatabindException e) { + throw new RuntimeException(e); + } + } catch (JacksonException e) { + throw new RuntimeException(e); + } + } +} +``` + + + + +```diff +@@ -1,2 +1,2 @@ +-import com.fasterxml.jackson.core.JsonProcessingException; +-import com.fasterxml.jackson.databind.JsonMappingException; ++import com.fasterxml.jackson.core.JacksonException; ++import com.fasterxml.jackson.databind.DatabindException; +import com.fasterxml.jackson.databind.ObjectMapper; +@@ -13,1 +13,1 @@ + try { + objectMapper.readValue(json, Object.class); +- } catch (JsonMappingException e) { ++ } catch (DatabindException e) { + throw new RuntimeException(e); +@@ -16,1 +16,1 @@ + throw new RuntimeException(e); + } +- } catch (JsonProcessingException e) { ++ } catch (JacksonException e) { + throw new RuntimeException(e); +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}}") + } + rewrite { + activeRecipe("org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions + + + + + org.openrewrite.recipe + rewrite-jackson + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jackson:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jackson.UpgradeJackson_2_And_3_Base_Exceptions -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe UpgradeJackson_2_And_3_Base_Exceptions +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/logging/changeloggerstoprivate.md b/docs/recipes/java/logging/changeloggerstoprivate.md index 663b7c196f..d5430b1945 100644 --- a/docs/recipes/java/logging/changeloggerstoprivate.md +++ b/docs/recipes/java/logging/changeloggerstoprivate.md @@ -253,4 +253,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -jhl221123 +jhl221123, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/logging/log4j/convertjulentering.md b/docs/recipes/java/logging/log4j/convertjulentering.md index ad2a15e12e..b3854833eb 100644 --- a/docs/recipes/java/logging/log4j/convertjulentering.md +++ b/docs/recipes/java/logging/log4j/convertjulentering.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Piotr P. Karwasz](mailto:piotr.github@karwasz.org), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Piotr P. Karwasz](mailto:piotr.github@karwasz.org), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/logging/log4j/convertjulexiting.md b/docs/recipes/java/logging/log4j/convertjulexiting.md index 7f79fae46a..d3b6ecf404 100644 --- a/docs/recipes/java/logging/log4j/convertjulexiting.md +++ b/docs/recipes/java/logging/log4j/convertjulexiting.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Piotr P. Karwasz](mailto:piotr.github@karwasz.org), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Piotr P. Karwasz](mailto:piotr.github@karwasz.org), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/logging/log4j/jultolog4j.md b/docs/recipes/java/logging/log4j/jultolog4j.md index 95c6167bee..5041b62399 100644 --- a/docs/recipes/java/logging/log4j/jultolog4j.md +++ b/docs/recipes/java/logging/log4j/jultolog4j.md @@ -539,4 +539,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Piotr P. Karwasz](mailto:piotr.github@karwasz.org), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Piotr P. Karwasz](mailto:piotr.github@karwasz.org), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/logging/logback/configureloggerlevel.md b/docs/recipes/java/logging/logback/configureloggerlevel.md index 717b8dd4a6..ab145a511e 100644 --- a/docs/recipes/java/logging/logback/configureloggerlevel.md +++ b/docs/recipes/java/logging/logback/configureloggerlevel.md @@ -245,4 +245,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) +[Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/changeloglevel.md b/docs/recipes/java/logging/slf4j/changeloglevel.md index 1cfead7fcd..5e6a22d464 100644 --- a/docs/recipes/java/logging/slf4j/changeloglevel.md +++ b/docs/recipes/java/logging/slf4j/changeloglevel.md @@ -242,4 +242,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Wojtek +[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Wojtek, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/logging/slf4j/jultoslf4j.md b/docs/recipes/java/logging/slf4j/jultoslf4j.md index d9aa81da6c..f4f9983dd7 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4j.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4j.md @@ -609,4 +609,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Tim te Beek](mailto:tim@moderne.io), [Piotr P. Karwasz](mailto:piotr.github@karwasz.org), Wojtek, [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Pierre Delagrave](mailto:pierre@moderne.io), [Mike Solomon](mailto:mike@moderne.io) +Aaron Gershman, [Tim te Beek](mailto:tim@moderne.io), [Piotr P. Karwasz](mailto:piotr.github@karwasz.org), Wojtek, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Pierre Delagrave](mailto:pierre@moderne.io), [Mike Solomon](mailto:mike@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/slf4jbestpractices.md b/docs/recipes/java/logging/slf4j/slf4jbestpractices.md index 5d136f578b..e7b06c47b4 100644 --- a/docs/recipes/java/logging/slf4j/slf4jbestpractices.md +++ b/docs/recipes/java/logging/slf4j/slf4jbestpractices.md @@ -413,4 +413,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Kun Li](mailto:kun@moderne.io), jhl221123, [Pierre Delagrave](mailto:pierre@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Peter Streef](mailto:p.streef@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Joan Viladrosa](mailto:joan@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Kevin McCarpenter](mailto:kevin@moderne.io) +Aaron Gershman, [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Pierre Delagrave](mailto:pierre@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Kun Li](mailto:kun@moderne.io), jhl221123, Md Riyazul Islam, [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Peter Streef](mailto:p.streef@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [JohannisK](mailto:johan.kragt@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Kevin McCarpenter](mailto:kevin@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md b/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md index bd18cce6ec..d96bc2c6a7 100644 --- a/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md +++ b/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md @@ -267,4 +267,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io) +[Tim te Beek](mailto:tim@moderne.io), [Pierre Delagrave](mailto:pierre@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io) diff --git a/docs/recipes/java/logging/systemprinttologging.md b/docs/recipes/java/logging/systemprinttologging.md index bcaa99755f..12fffbd079 100644 --- a/docs/recipes/java/logging/systemprinttologging.md +++ b/docs/recipes/java/logging/systemprinttologging.md @@ -257,4 +257,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), Adriano Machado +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Adriano Machado diff --git a/docs/recipes/java/migrate/README.md b/docs/recipes/java/migrate/README.md index 2be32c5229..bc63bb321c 100644 --- a/docs/recipes/java/migrate/README.md +++ b/docs/recipes/java/migrate/README.md @@ -39,7 +39,8 @@ _Recipes that include further recipes, often including the individual recipes be * [Change `java.lang.reflect.Modifier` and ` java.lang.invoke.ConstantBootstraps` method calls to static](./removedmodifierandconstantbootstrapsconstructors.md) * [Do not package `java.xml.bind` and `java.activation` modules in WebSphere Liberty applications](./removedjaxbmoduleprovided.md) * [Do not package `java.xml.ws` module in WebSphere Liberty applications](./removedjavaxmlwsmoduleprovided.md) -* [Migrate BouncyCastle to jdk18on](./bouncecastlefromjdk15ontojdk18on.md) +* [Migrate Bouncy Castle from `jdk15on` to `jdk15to18` for Java < 8](./bouncycastlefromjdk15ontojdk15to18.md) +* [Migrate Bouncy Castle to `jdk18on`](./bouncecastlefromjdk15ontojdk18on.md) * [Migrate to IBM Semeru Runtimes](./ibmsemeru.md) * [Migrate to Java 11](./java8tojava11.md) * [Migrate to Java 17](./upgradetojava17.md) diff --git a/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md b/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md index e3d139aac1..ccb1b5bffe 100644 --- a/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md +++ b/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md @@ -218,4 +218,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[traceyyoshima](mailto:tracey.yoshima@gmail.com), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[traceyyoshima](mailto:tracey.yoshima@gmail.com), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/beandiscovery.md b/docs/recipes/java/migrate/beandiscovery.md index 5c8d871f8b..7de914d92f 100644 --- a/docs/recipes/java/migrate/beandiscovery.md +++ b/docs/recipes/java/migrate/beandiscovery.md @@ -251,4 +251,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) +Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md b/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md index 6d9517b695..fd6bea9f18 100644 --- a/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md +++ b/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md @@ -1,15 +1,15 @@ --- -sidebar_label: "Migrate BouncyCastle to jdk18on" +sidebar_label: "Migrate Bouncy Castle to jdk18on" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Migrate BouncyCastle to jdk18on +# Migrate Bouncy Castle to `jdk18on` **org.openrewrite.java.migrate.BounceCastleFromJdk15OntoJdk18On** -_This recipe will upgrade BouncyCastle dependencies from -jdk15on to -jdk18on._ +_This recipe will upgrade Bouncy Castle dependencies from `-jdk15on` or `-jdk15to18` to `-jdk18on`._ ### Tags @@ -67,6 +67,41 @@ This recipe is available under the [Moderne Source Available License](https://do * oldArtifactId: `bctls-jdk15on` * newArtifactId: `bctls-jdk18on` * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcprov-jdk15to18` + * newArtifactId: `bcprov-jdk18on` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcutil-jdk15to18` + * newArtifactId: `bcutil-jdk18on` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcpkix-jdk15to18` + * newArtifactId: `bcpkix-jdk18on` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcmail-jdk15to18` + * newArtifactId: `bcmail-jdk18on` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcjmail-jdk15to18` + * newArtifactId: `bcjmail-jdk18on` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcpg-jdk15to18` + * newArtifactId: `bcpg-jdk18on` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bctls-jdk15to18` + * newArtifactId: `bctls-jdk18on` + * newVersion: `latest.release` @@ -76,9 +111,9 @@ This recipe is available under the [Moderne Source Available License](https://do --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.BounceCastleFromJdk15OntoJdk18On -displayName: Migrate BouncyCastle to jdk18on +displayName: Migrate Bouncy Castle to `jdk18on` description: | - This recipe will upgrade BouncyCastle dependencies from -jdk15on to -jdk18on. + This recipe will upgrade Bouncy Castle dependencies from `-jdk15on` or `-jdk15to18` to `-jdk18on`. tags: - bouncycastle recipeList: @@ -117,6 +152,41 @@ recipeList: oldArtifactId: bctls-jdk15on newArtifactId: bctls-jdk18on newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcprov-jdk15to18 + newArtifactId: bcprov-jdk18on + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcutil-jdk15to18 + newArtifactId: bcutil-jdk18on + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcpkix-jdk15to18 + newArtifactId: bcpkix-jdk18on + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcmail-jdk15to18 + newArtifactId: bcmail-jdk18on + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcjmail-jdk15to18 + newArtifactId: bcjmail-jdk18on + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcpg-jdk15to18 + newArtifactId: bcpg-jdk18on + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bctls-jdk15to18 + newArtifactId: bctls-jdk18on + newVersion: latest.release ``` @@ -134,11 +204,9 @@ project ```xml title="pom.xml" 4.0.0 - com.mycompany.app my-app 1 - org.bouncycastle @@ -168,11 +236,9 @@ project ```xml title="pom.xml" 4.0.0 - com.mycompany.app my-app 1 - org.bouncycastle diff --git a/docs/recipes/java/migrate/bouncycastlefromjdk15ontojdk15to18.md b/docs/recipes/java/migrate/bouncycastlefromjdk15ontojdk15to18.md new file mode 100644 index 0000000000..4349a9a95a --- /dev/null +++ b/docs/recipes/java/migrate/bouncycastlefromjdk15ontojdk15to18.md @@ -0,0 +1,317 @@ +--- +sidebar_label: "Migrate Bouncy Castle from jdk15on to jdk15to18 for Java < 8" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Bouncy Castle from `jdk15on` to `jdk15to18` for Java < 8 + +**org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18** + +``` +This recipe replaces the Bouncy Castle artifacts from `jdk15on` to `jdk15to18`. `jdk15on` isn't maintained anymore and `jdk18on` is only for Java 8 and above. The `jdk15to18` artifact is the up-to-date replacement of the unmaintained `jdk15on` for Java < 8. +``` + + +### Tags + +* bouncycastle + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/bouncycastle-jdk15to18.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Definition + + + +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcprov-jdk15on` + * newArtifactId: `bcprov-jdk15to18` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcutil-jdk15on` + * newArtifactId: `bcutil-jdk15to18` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcpkix-jdk15on` + * newArtifactId: `bcpkix-jdk15to18` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcmail-jdk15on` + * newArtifactId: `bcmail-jdk15to18` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcjmail-jdk15on` + * newArtifactId: `bcjmail-jdk15to18` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bcpg-jdk15on` + * newArtifactId: `bcpg-jdk15to18` + * newVersion: `latest.release` +* [Change Gradle or Maven dependency](../../java/dependencies/changedependency) + * oldGroupId: `org.bouncycastle` + * oldArtifactId: `bctls-jdk15on` + * newArtifactId: `bctls-jdk15to18` + * newVersion: `latest.release` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18 +displayName: Migrate Bouncy Castle from `jdk15on` to `jdk15to18` for Java < 8 +description: | + This recipe replaces the Bouncy Castle artifacts from `jdk15on` to `jdk15to18`. `jdk15on` isn't maintained anymore and `jdk18on` is only for Java 8 and above. The `jdk15to18` artifact is the up-to-date replacement of the unmaintained `jdk15on` for Java < 8. +tags: + - bouncycastle +recipeList: + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcprov-jdk15on + newArtifactId: bcprov-jdk15to18 + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcutil-jdk15on + newArtifactId: bcutil-jdk15to18 + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcpkix-jdk15on + newArtifactId: bcpkix-jdk15to18 + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcmail-jdk15on + newArtifactId: bcmail-jdk15to18 + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcjmail-jdk15on + newArtifactId: bcjmail-jdk15to18 + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bcpg-jdk15on + newArtifactId: bcpg-jdk15to18 + newVersion: latest.release + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.bouncycastle + oldArtifactId: bctls-jdk15on + newArtifactId: bctls-jdk15to18 + newVersion: latest.release + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") + } + rewrite { + activeRecipe("org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18 + + + + + org.openrewrite.recipe + rewrite-migrate-java + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18 -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe BouncyCastleFromJdk15OnToJdk15to18 +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/migrate/jakarta/README.md b/docs/recipes/java/migrate/jakarta/README.md index 331f30d9ac..96dd93e270 100644 --- a/docs/recipes/java/migrate/jakarta/README.md +++ b/docs/recipes/java/migrate/jakarta/README.md @@ -85,6 +85,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Faces XHTML migration for Jakarta EE 9](./jakartafacesxhtmlee9.md) * [Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with J2EE9](./restassuredjavaxtojakarta.md) +* [Project has no Jakarta annotations](./hasnojakartaannotations.md) * [Remove `Bean.isNullable()`](./removebeanisnullable.md) * [Remove trailing slash from `jakarta.ws.rs.ApplicationPath` values](./applicationpathwildcardnolongeraccepted.md) * [Rename CDI Extension to Jakarta](./javaxtojakartacdiextensions.md) diff --git a/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md b/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md index 2171678716..eb324efee0 100644 --- a/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md +++ b/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md @@ -266,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md b/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md index 5decc050c4..e847c236a3 100644 --- a/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md +++ b/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md @@ -258,4 +258,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md b/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md index c966fb1129..aa9472ccb7 100644 --- a/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md +++ b/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md @@ -485,4 +485,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/jakarta/hasnojakartaannotations.md b/docs/recipes/java/migrate/jakarta/hasnojakartaannotations.md new file mode 100644 index 0000000000..10d5f9c9a9 --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/hasnojakartaannotations.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Project has no Jakarta annotations" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Project has no Jakarta annotations + +**org.openrewrite.java.migrate.jakarta.HasNoJakartaAnnotations** + +_Mark all source as found per `JavaProject` where no Jakarta annotations are found. This is useful mostly as a precondition for recipes that require Jakarta annotations to be present_ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/HasNoJakartaAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.migrate.jakarta.HasNoJakartaAnnotations") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") + } + rewrite { + activeRecipe("org.openrewrite.java.migrate.jakarta.HasNoJakartaAnnotations") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.migrate.jakarta.HasNoJakartaAnnotations + + + + + org.openrewrite.recipe + rewrite-migrate-java + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.migrate.jakarta.HasNoJakartaAnnotations -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe HasNoJakartaAnnotations +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/migrate/jakarta/jakartaee10.md b/docs/recipes/java/migrate/jakarta/jakartaee10.md index abf2b8af5a..0e11897fbf 100644 --- a/docs/recipes/java/migrate/jakarta/jakartaee10.md +++ b/docs/recipes/java/migrate/jakarta/jakartaee10.md @@ -412,4 +412,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, [Melloware](mailto:mellowaredev@gmail.com), Evie Lau, ranuradh, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Chuka Obinabo, Anu Ramamoorthy, [Melloware](mailto:mellowaredev@gmail.com), Evie Lau, ranuradh, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/jakarta/jakartaee11.md b/docs/recipes/java/migrate/jakarta/jakartaee11.md index 6eb5720fe7..243c57e7bc 100644 --- a/docs/recipes/java/migrate/jakarta/jakartaee11.md +++ b/docs/recipes/java/migrate/jakarta/jakartaee11.md @@ -269,4 +269,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Evie Lau, Anu Ramamoorthy, [Melloware](mailto:mellowaredev@gmail.com), ranuradh, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Chuka Obinabo, Evie Lau, Anu Ramamoorthy, [Melloware](mailto:mellowaredev@gmail.com), ranuradh, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md b/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md index 2e09142c7d..990d2679a3 100644 --- a/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md @@ -412,4 +412,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Evie Lau, ranuradh, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Chuka Obinabo, Evie Lau, ranuradh, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md b/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md index 7a5c0b56bd..8047fb2de8 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md @@ -178,11 +178,6 @@ recipeList: javax.faces.PROJECT_STAGE Production - - myDataSource - javax.sql.DataSource - CONTAINER - ``` @@ -197,149 +192,6 @@ recipeList: jakarta.faces.PROJECT_STAGE Production - - myDataSource - javax.sql.DataSource - CONTAINER - - -``` - - - - -```diff -@@ -2,1 +2,1 @@ - -- -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" -+ version="5.0"> - -@@ -7,1 +7,1 @@ - version="2.0"> - -- javax.faces.PROJECT_STAGE -+ jakarta.faces.PROJECT_STAGE - Production -``` - - - ---- - -##### Example 3 - - - - - - -###### Before -```xml - - - - javax.faces.PROJECT_STAGE - Production - - -``` - -###### After -```xml - - - - jakarta.faces.PROJECT_STAGE - Production - - -``` - - - - -```diff -@@ -2,1 +2,1 @@ - -- -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" -+ version="5.0"> - -@@ -7,1 +7,1 @@ - version="2.0"> - -- javax.faces.PROJECT_STAGE -+ jakarta.faces.PROJECT_STAGE - Production -``` - - - ---- - -##### Example 4 - - - - - - -###### Before -```xml - - - - javax.faces.PROJECT_STAGE - Production - - - myDataSource - javax.sql.DataSource - CONTAINER - - -``` - -###### After -```xml - - - - jakarta.faces.PROJECT_STAGE - Production - - - myDataSource - javax.sql.DataSource - CONTAINER - ``` diff --git a/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md index f0d4c23693..f42ff1ea00 100644 --- a/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md @@ -218,4 +218,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Melloware](mailto:mellowaredev@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +[Melloware](mailto:mellowaredev@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md b/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md index e671e9d485..359ae09b94 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md @@ -29,7 +29,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) - * groupId: `jakarta.annotations` + * groupId: `jakarta.annotation` * artifactId: `jakarta.annotation-api` * newVersion: `2.1.x` * [Change type](../../../java/changetype) @@ -52,7 +52,7 @@ description: | Update Jakarta EE annotation Dependencies to 2.1.x. recipeList: - org.openrewrite.java.dependencies.UpgradeDependencyVersion: - groupId: jakarta.annotations + groupId: jakarta.annotation artifactId: jakarta.annotation-api newVersion: 2.1.x - org.openrewrite.java.ChangeType: diff --git a/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md b/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md index 6a093a150d..4e5ee63929 100644 --- a/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md +++ b/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md @@ -218,4 +218,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/java8tojava11.md b/docs/recipes/java/migrate/java8tojava11.md index a756999a86..f24fba8413 100644 --- a/docs/recipes/java/migrate/java8tojava11.md +++ b/docs/recipes/java/migrate/java8tojava11.md @@ -484,4 +484,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), Aaron Gershman, Daryl Robbins, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Josh Soref, Kun Li +Chuka Obinabo, Anu Ramamoorthy, BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), Aaron Gershman, Daryl Robbins, Adam Slaski, [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Josh Soref, Kun Li diff --git a/docs/recipes/java/migrate/javaee6.md b/docs/recipes/java/migrate/javaee6.md index aa5abea4ff..c5ed14126c 100644 --- a/docs/recipes/java/migrate/javaee6.md +++ b/docs/recipes/java/migrate/javaee6.md @@ -244,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Evie Lau, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/javaee7-recipe.md b/docs/recipes/java/migrate/javaee7-recipe.md index b272d801b3..7e7629401b 100644 --- a/docs/recipes/java/migrate/javaee7-recipe.md +++ b/docs/recipes/java/migrate/javaee7-recipe.md @@ -256,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, Evie Lau, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) +Chuka Obinabo, Evie Lau, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/javaee8-recipe.md b/docs/recipes/java/migrate/javaee8-recipe.md index 0f2875f034..d720df7f6f 100644 --- a/docs/recipes/java/migrate/javaee8-recipe.md +++ b/docs/recipes/java/migrate/javaee8-recipe.md @@ -264,4 +264,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, Evie Lau, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) +Chuka Obinabo, Evie Lau, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/migrate/javax/addtablegenerator.md b/docs/recipes/java/migrate/javax/addtablegenerator.md index 2c64275a96..5d3e22996e 100644 --- a/docs/recipes/java/migrate/javax/addtablegenerator.md +++ b/docs/recipes/java/migrate/javax/addtablegenerator.md @@ -305,4 +305,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md b/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md index 80116457e6..d4c779e7c1 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md @@ -281,4 +281,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Evie Lau, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/javax/httpsessioninvalidate.md b/docs/recipes/java/migrate/javax/httpsessioninvalidate.md index 897f0d9bdb..28d0707b76 100644 --- a/docs/recipes/java/migrate/javax/httpsessioninvalidate.md +++ b/docs/recipes/java/migrate/javax/httpsessioninvalidate.md @@ -263,4 +263,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Evie Lau, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Evie Lau, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/jpacacheproperties.md b/docs/recipes/java/migrate/jpacacheproperties.md index ba52cd4d0e..384ffe7b4e 100644 --- a/docs/recipes/java/migrate/jpacacheproperties.md +++ b/docs/recipes/java/migrate/jpacacheproperties.md @@ -267,4 +267,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com) +Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md b/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md index 1492fa89aa..b513b8cbc2 100644 --- a/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md +++ b/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md @@ -328,4 +328,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +Chuka Obinabo, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/migrate/jrewrapperinterface.md b/docs/recipes/java/migrate/jrewrapperinterface.md index 89f992a628..9d64877edf 100644 --- a/docs/recipes/java/migrate/jrewrapperinterface.md +++ b/docs/recipes/java/migrate/jrewrapperinterface.md @@ -279,4 +279,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +Chuka Obinabo, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/migrate/lang/explicitrecordimport.md b/docs/recipes/java/migrate/lang/explicitrecordimport.md index 26dedaf1fd..5e4deed163 100644 --- a/docs/recipes/java/migrate/lang/explicitrecordimport.md +++ b/docs/recipes/java/migrate/lang/explicitrecordimport.md @@ -30,7 +30,7 @@ This recipe is available under the [Moderne Source Available License](https://do ```java package com.acme.music; -public class Test { +class Test { Record record; } ``` @@ -41,7 +41,7 @@ package com.acme.music; import com.acme.music.Record; -public class Test { +class Test { Record record; } ``` @@ -55,7 +55,7 @@ package com.acme.music; +import com.acme.music.Record; + -public class Test { +class Test { ``` diff --git a/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md b/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md index 93b44c30eb..fc7660c1d0 100644 --- a/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md +++ b/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md @@ -299,4 +299,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md b/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md index 335176dc8c..967f612338 100644 --- a/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md +++ b/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md @@ -275,4 +275,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md b/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md index 80680efd2a..84d6611836 100644 --- a/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md +++ b/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md @@ -297,4 +297,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/lang/usetextblocks.md b/docs/recipes/java/migrate/lang/usetextblocks.md index 487af8c3a7..74c27e7100 100644 --- a/docs/recipes/java/migrate/lang/usetextblocks.md +++ b/docs/recipes/java/migrate/lang/usetextblocks.md @@ -25,8 +25,7 @@ This recipe is available under the [Moderne Source Available License](https://do | -- | -- | -- | -- | | `boolean` | convertStringsWithoutNewlines | *Optional*. Whether or not strings without newlines should be converted to text block when processing code. The default value is true. | `true` | -## Examples -##### Example 1 +## Example @@ -72,83 +71,6 @@ class Test { ---- - -##### Example 2 - - - - - - -###### Before -```java -class A { - void welcome() { - log("\n=========================================================" - + "\n " - + "\n Welcome to Spring Integration! " - + "\n " - + "\n For more information please visit: " - + "\n https://www.springsource.org/spring-integration " - + "\n " - + "\n========================================================="); - } - void log(String s) {} -} -``` - -###### After -```java -class A { - void welcome() { - log(""" - - ========================================================= - \s - Welcome to Spring Integration! \s - \s - For more information please visit: \s - https://www.springsource.org/spring-integration \s - \s - =========================================================\ - """); - } - void log(String s) {} -} -``` - - - - -```diff -@@ -3,8 +3,11 @@ -class A { - void welcome() { -- log("\n=========================================================" -- + "\n " -- + "\n Welcome to Spring Integration! " -- + "\n " -- + "\n For more information please visit: " -- + "\n https://www.springsource.org/spring-integration " -- + "\n " -- + "\n========================================================="); -+ log(""" -+ -+ ========================================================= -+ \s -+ Welcome to Spring Integration! \s -+ \s -+ For more information please visit: \s -+ https://www.springsource.org/spring-integration \s -+ \s -+ =========================================================\ -+ """); - } -``` - - - ## Usage diff --git a/docs/recipes/java/migrate/lang/usevar.md b/docs/recipes/java/migrate/lang/usevar.md index e623fee5d5..712dbe7a4a 100644 --- a/docs/recipes/java/migrate/lang/usevar.md +++ b/docs/recipes/java/migrate/lang/usevar.md @@ -455,4 +455,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mike Solomon](mailto:mike@moderne.io) +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Mike Solomon](mailto:mike@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) diff --git a/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md b/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md index 247be835cd..4f5d17dbd2 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md +++ b/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md @@ -265,4 +265,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) diff --git a/docs/recipes/java/migrate/lang/var/usevarforobject.md b/docs/recipes/java/migrate/lang/var/usevarforobject.md index af08d892c9..34f1cd94dc 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforobject.md +++ b/docs/recipes/java/migrate/lang/var/usevarforobject.md @@ -19,8 +19,7 @@ _Try to apply local variable type inference `var` to variables containing Object This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). -## Examples -##### Example 1 +## Example @@ -63,47 +62,6 @@ class A { ---- - -##### Example 2 - - - - - - -###### Before -```java -class A { - void m() { - final Object o = new Object(); - } -} -``` - -###### After -```java -class A { - void m() { - final var o = new Object(); - } -} -``` - - - - -```diff -@@ -3,1 +3,1 @@ -class A { - void m() { -- final Object o = new Object(); -+ final var o = new Object(); - } -``` - - - ## Usage diff --git a/docs/recipes/java/migrate/lombok/README.md b/docs/recipes/java/migrate/lombok/README.md index 78aa045811..04862589e8 100644 --- a/docs/recipes/java/migrate/lombok/README.md +++ b/docs/recipes/java/migrate/lombok/README.md @@ -16,6 +16,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Convert `@lombok.Value` class to Record](./lombokvaluetorecord.md) * [Convert getter methods to annotations](./uselombokgetter.md) * [Convert setter methods to annotations](./uselomboksetter.md) +* [Migrate Lombok's `@__` syntax to `onX_` for Java 8+](./lombokonxtoonx_.md) * [Prefer `final var` over `lombok.val`](./lombokvaltofinalvar.md) * [Rename getter methods to fit Lombok](./adoptlombokgettermethodnames.md) * [Use `@NoArgsConstructor` where applicable](./usenoargsconstructor.md) diff --git a/docs/recipes/java/migrate/lombok/lombokbestpractices.md b/docs/recipes/java/migrate/lombok/lombokbestpractices.md index 39aa20f6a3..00e62f2085 100644 --- a/docs/recipes/java/migrate/lombok/lombokbestpractices.md +++ b/docs/recipes/java/migrate/lombok/lombokbestpractices.md @@ -323,4 +323,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -timo-a, [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +timo-a, [Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/lombok/lombokonxtoonx_.md b/docs/recipes/java/migrate/lombok/lombokonxtoonx_.md new file mode 100644 index 0000000000..9dc1a7804d --- /dev/null +++ b/docs/recipes/java/migrate/lombok/lombokonxtoonx_.md @@ -0,0 +1,219 @@ +--- +sidebar_label: "Migrate Lombok's @__ syntax to onX_ for Java 8+" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Lombok's `@__` syntax to `onX_` for Java 8+ + +**org.openrewrite.java.migrate.lombok.LombokOnXToOnX\_** + +_Migrates Lombok's `onX` annotations from the Java 7 style using `@__` to the Java 8+ style using `onX_`. For example, `@Getter(onMethod=@__({@Id}))` becomes `@Getter(onMethod_={@Id})`._ + +### Tags + +* lombok + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokOnXToOnX_.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.migrate.lombok.LombokOnXToOnX_") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") + } + rewrite { + activeRecipe("org.openrewrite.java.migrate.lombok.LombokOnXToOnX_") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.migrate.lombok.LombokOnXToOnX_ + + + + + org.openrewrite.recipe + rewrite-migrate-java + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.migrate.lombok.LombokOnXToOnX_ -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe LombokOnXToOnX_ +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md b/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md index f1322f3650..ddd50eb50b 100644 --- a/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md +++ b/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md @@ -259,4 +259,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim.te.beek@jdriven.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim.te.beek@jdriven.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/migrate/lombok/updatelomboktojava11.md b/docs/recipes/java/migrate/lombok/updatelomboktojava11.md index 1a74d510bc..fc642d9d51 100644 --- a/docs/recipes/java/migrate/lombok/updatelomboktojava11.md +++ b/docs/recipes/java/migrate/lombok/updatelomboktojava11.md @@ -53,6 +53,7 @@ This recipe is available under the [Moderne Source Available License](https://do * oldFullyQualifiedTypeName: `lombok.experimental.val` * newFullyQualifiedTypeName: `lombok.val` * [Prefer `final var` over `lombok.val`](../../../java/migrate/lombok/lombokvaltofinalvar) +* [Migrate Lombok's `@__` syntax to `onX_` for Java 8+](../../../java/migrate/lombok/lombokonxtoonx_) @@ -89,6 +90,7 @@ recipeList: oldFullyQualifiedTypeName: lombok.experimental.val newFullyQualifiedTypeName: lombok.val - org.openrewrite.java.migrate.lombok.LombokValToFinalVar + - org.openrewrite.java.migrate.lombok.LombokOnXToOnX_ ``` @@ -286,4 +288,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim.te.beek@jdriven.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/migrate/lombok/uselombokgetter.md b/docs/recipes/java/migrate/lombok/uselombokgetter.md index 1bf8cbf4bc..acf59aeecc 100644 --- a/docs/recipes/java/migrate/lombok/uselombokgetter.md +++ b/docs/recipes/java/migrate/lombok/uselombokgetter.md @@ -271,4 +271,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -timo-a, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +timo-a, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/lombok/uselomboksetter.md b/docs/recipes/java/migrate/lombok/uselomboksetter.md index 3c4bc4e119..8414172175 100644 --- a/docs/recipes/java/migrate/lombok/uselomboksetter.md +++ b/docs/recipes/java/migrate/lombok/uselomboksetter.md @@ -271,4 +271,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -timo-a, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +timo-a, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/lombok/usenoargsconstructor.md b/docs/recipes/java/migrate/lombok/usenoargsconstructor.md index 22d26f20a3..f93df7fa06 100644 --- a/docs/recipes/java/migrate/lombok/usenoargsconstructor.md +++ b/docs/recipes/java/migrate/lombok/usenoargsconstructor.md @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -timo-a +timo-a, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/replaceawtgetpeermethod.md b/docs/recipes/java/migrate/replaceawtgetpeermethod.md index cc925ceb48..00bdb50596 100644 --- a/docs/recipes/java/migrate/replaceawtgetpeermethod.md +++ b/docs/recipes/java/migrate/replaceawtgetpeermethod.md @@ -309,4 +309,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md b/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md index 3c5035d968..ae7eca48a5 100644 --- a/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md +++ b/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md @@ -327,4 +327,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/replacelocalizedstreammethods.md b/docs/recipes/java/migrate/replacelocalizedstreammethods.md index ff0a21b4aa..6d113c56e0 100644 --- a/docs/recipes/java/migrate/replacelocalizedstreammethods.md +++ b/docs/recipes/java/migrate/replacelocalizedstreammethods.md @@ -270,4 +270,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -BhavanaPidapa, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +BhavanaPidapa, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/search/aboutjavaversion.md b/docs/recipes/java/migrate/search/aboutjavaversion.md index c3b1f688c4..bd3ff2e342 100644 --- a/docs/recipes/java/migrate/search/aboutjavaversion.md +++ b/docs/recipes/java/migrate/search/aboutjavaversion.md @@ -301,4 +301,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/search/findinternaljavaxapis.md b/docs/recipes/java/migrate/search/findinternaljavaxapis.md index 164821c456..d93c4045ee 100644 --- a/docs/recipes/java/migrate/search/findinternaljavaxapis.md +++ b/docs/recipes/java/migrate/search/findinternaljavaxapis.md @@ -235,4 +235,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/switchpatternmatching.md b/docs/recipes/java/migrate/switchpatternmatching.md index 536107bd73..c16d7accb1 100644 --- a/docs/recipes/java/migrate/switchpatternmatching.md +++ b/docs/recipes/java/migrate/switchpatternmatching.md @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/upgradebuildtojava11.md b/docs/recipes/java/migrate/upgradebuildtojava11.md index 7e8f3a3a4c..42ffcb5741 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava11.md +++ b/docs/recipes/java/migrate/upgradebuildtojava11.md @@ -244,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li diff --git a/docs/recipes/java/migrate/upgradebuildtojava17.md b/docs/recipes/java/migrate/upgradebuildtojava17.md index 19785127c7..9e8786b2a7 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava17.md +++ b/docs/recipes/java/migrate/upgradebuildtojava17.md @@ -244,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li diff --git a/docs/recipes/java/migrate/upgradebuildtojava21.md b/docs/recipes/java/migrate/upgradebuildtojava21.md index ca26069b99..004f523487 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava21.md +++ b/docs/recipes/java/migrate/upgradebuildtojava21.md @@ -244,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li diff --git a/docs/recipes/java/migrate/upgradejavaversion.md b/docs/recipes/java/migrate/upgradejavaversion.md index a53efbb28b..20c6a30f39 100644 --- a/docs/recipes/java/migrate/upgradejavaversion.md +++ b/docs/recipes/java/migrate/upgradejavaversion.md @@ -289,4 +289,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Kun Li diff --git a/docs/recipes/java/migrate/upgradetojava17.md b/docs/recipes/java/migrate/upgradetojava17.md index dd095fb105..e1a6f05802 100644 --- a/docs/recipes/java/migrate/upgradetojava17.md +++ b/docs/recipes/java/migrate/upgradetojava17.md @@ -542,4 +542,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, eocantu, [Shannon Pamperl](mailto:shanman190@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref +Chuka Obinabo, Anu Ramamoorthy, [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, Adam Slaski, [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Aakarshit Uppal, BramliAK, eocantu, [Shannon Pamperl](mailto:shanman190@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref diff --git a/docs/recipes/java/migrate/upgradetojava21.md b/docs/recipes/java/migrate/upgradetojava21.md index 0510982506..8660faf427 100644 --- a/docs/recipes/java/migrate/upgradetojava21.md +++ b/docs/recipes/java/migrate/upgradetojava21.md @@ -287,4 +287,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, [Tim te Beek](mailto:tim@moderne.io), Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), BhavanaPidapa, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, [Patrick](mailto:patway99@gmail.com), [karthikNousher](mailto:emailkarthik369@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, [Shannon Pamperl](mailto:shanman190@gmail.com), eocantu, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), Kun Li, Cathy, Josh Soref, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +Chuka Obinabo, [Tim te Beek](mailto:tim@moderne.io), Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), BhavanaPidapa, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, Adam Slaski, [karthikNousher](mailto:emailkarthik369@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, [Shannon Pamperl](mailto:shanman190@gmail.com), eocantu, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), Kun Li, Cathy, Josh Soref diff --git a/docs/recipes/java/migrate/upgradetojava25.md b/docs/recipes/java/migrate/upgradetojava25.md index 3c4fc5ed82..287054d90f 100644 --- a/docs/recipes/java/migrate/upgradetojava25.md +++ b/docs/recipes/java/migrate/upgradetojava25.md @@ -271,4 +271,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, [Tim te Beek](mailto:tim@moderne.io), Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), BhavanaPidapa, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, [Patrick](mailto:patway99@gmail.com), [karthikNousher](mailto:emailkarthik369@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, [Shannon Pamperl](mailto:shanman190@gmail.com), eocantu, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), Kun Li, Cathy, Josh Soref, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +Chuka Obinabo, [Tim te Beek](mailto:tim@moderne.io), Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), BhavanaPidapa, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, Adam Slaski, [karthikNousher](mailto:emailkarthik369@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, [Shannon Pamperl](mailto:shanman190@gmail.com), eocantu, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), Kun Li, Cathy, Josh Soref diff --git a/docs/recipes/java/migrate/upgradetojava6.md b/docs/recipes/java/migrate/upgradetojava6.md index a61e95cae0..37df21e742 100644 --- a/docs/recipes/java/migrate/upgradetojava6.md +++ b/docs/recipes/java/migrate/upgradetojava6.md @@ -554,4 +554,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +Chuka Obinabo, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/migrate/upgradetojava7.md b/docs/recipes/java/migrate/upgradetojava7.md index 25338759da..17384a65c4 100644 --- a/docs/recipes/java/migrate/upgradetojava7.md +++ b/docs/recipes/java/migrate/upgradetojava7.md @@ -36,6 +36,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Adds missing JDBC interface methods.](../../java/migrate/jrejdbcinterfacenewmethods) * [Rename final method declarations `getSuppressed()` and `addSuppressed(Throwable exception)` in classes that extend `Throwable`](../../java/migrate/jrethrowablefinalmethods) * [Replace `java.lang.Math random()` with `ThreadLocalRandom nextDouble()`](../../java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe) +* [Migrate Bouncy Castle from `jdk15on` to `jdk15to18` for Java < 8](../../java/migrate/bouncycastlefromjdk15ontojdk15to18) @@ -55,6 +56,7 @@ recipeList: - org.openrewrite.java.migrate.JREJdbcInterfaceNewMethods - org.openrewrite.java.migrate.JREThrowableFinalMethods - org.openrewrite.java.migrate.util.ReplaceMathRandomWithThreadLocalRandomRecipe + - org.openrewrite.java.migrate.BouncyCastleFromJdk15OnToJdk15to18 ``` diff --git a/docs/recipes/java/migrate/upgradetojava8.md b/docs/recipes/java/migrate/upgradetojava8.md index 10401403fc..f059ff36dd 100644 --- a/docs/recipes/java/migrate/upgradetojava8.md +++ b/docs/recipes/java/migrate/upgradetojava8.md @@ -34,7 +34,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate to Java 7](../../java/migrate/upgradetojava7) * [MBean and MXBean interfaces must be public](../../java/migrate/mxbeanrule) -* [Migrate BouncyCastle to jdk18on](../../java/migrate/bouncecastlefromjdk15ontojdk18on) +* [Migrate Bouncy Castle to `jdk18on`](../../java/migrate/bouncecastlefromjdk15ontojdk18on) * [Remove method invocations](../../java/removemethodinvocations) * methodPattern: `java.lang.Thread destroy()` @@ -484,4 +484,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +Chuka Obinabo, Anu Ramamoorthy, Daryl Robbins, [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/migrate/usetabsorspaces.md b/docs/recipes/java/migrate/usetabsorspaces.md index 40479c9ad4..ba3378612f 100644 --- a/docs/recipes/java/migrate/usetabsorspaces.md +++ b/docs/recipes/java/migrate/usetabsorspaces.md @@ -225,4 +225,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/util/optionalstreamrecipe.md b/docs/recipes/java/migrate/util/optionalstreamrecipe.md index 50ac69b5d3..40799a35ce 100644 --- a/docs/recipes/java/migrate/util/optionalstreamrecipe.md +++ b/docs/recipes/java/migrate/util/optionalstreamrecipe.md @@ -261,4 +261,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adam Slaski, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Adam Slaski, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/migrate/util/removefinalizerfromzip.md b/docs/recipes/java/migrate/util/removefinalizerfromzip.md index 84df7071b3..3fab91d683 100644 --- a/docs/recipes/java/migrate/util/removefinalizerfromzip.md +++ b/docs/recipes/java/migrate/util/removefinalizerfromzip.md @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Satvika Eda](mailto:satvika164.reddy@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com) +[Satvika Eda](mailto:satvika164.reddy@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com) diff --git a/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md b/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md index 8360c3a702..8e1decac84 100644 --- a/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md +++ b/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md @@ -51,6 +51,107 @@ recipeList: ``` +## Examples +##### Example 1 + + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + + net.wasdev.maven.parent + java8-parent + 1.4 + + my-artifact + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + + net.wasdev.maven.parent + parent + 1.4 + + my-artifact + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -5,1 +5,1 @@ + + net.wasdev.maven.parent +- java8-parent ++ parent + 1.4 +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + + net.wasdev.maven.parent + java8-parent + 1.4 + + my-artifact + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + + net.wasdev.maven.parent + parent + 1.4 + + my-artifact + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -5,1 +5,1 @@ + + net.wasdev.maven.parent +- java8-parent ++ parent + 1.4 +``` + + + ## Usage diff --git a/docs/recipes/java/recipes/isliteralnullrecipe.md b/docs/recipes/java/recipes/isliteralnullrecipe.md index 5061c0845b..87478a3c31 100644 --- a/docs/recipes/java/recipes/isliteralnullrecipe.md +++ b/docs/recipes/java/recipes/isliteralnullrecipe.md @@ -34,6 +34,53 @@ public class IsLiteralNull { This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). +## Example + + + + + + +###### Before +```java +import org.openrewrite.java.tree.Expression; +import org.openrewrite.java.tree.J; +class Test { + void test(Expression e) { + if (e instanceof J.Literal && ((J.Literal) e).getValue() == null) { + System.out.println("null"); + } + } +} +``` + +###### After +```java +import org.openrewrite.java.tree.Expression; +import org.openrewrite.java.tree.J; +class Test { + void test(Expression e) { + if (J.Literal.isLiteralValue(e, null)) { + System.out.println("null"); + } + } +} +``` + + + + +```diff +@@ -5,1 +5,1 @@ +class Test { + void test(Expression e) { +- if (e instanceof J.Literal && ((J.Literal) e).getValue() == null) { ++ if (J.Literal.isLiteralValue(e, null)) { + System.out.println("null"); +``` + + + ## Usage diff --git a/docs/recipes/java/recipes/javarecipebestpractices.md b/docs/recipes/java/recipes/javarecipebestpractices.md index 4334a8f0e9..342bcffbf8 100644 --- a/docs/recipes/java/recipes/javarecipebestpractices.md +++ b/docs/recipes/java/recipes/javarecipebestpractices.md @@ -36,6 +36,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Recipe classes should not have mutable `static` fields](../../java/recipes/nomutablestaticfieldsinrecipes) * [Use of `@EqualsAndHashCode` on `Recipe`](../../java/recipes/recipeequalsandhashcodecallsuper) * [Use `Tree.randomId()` in LST constructors](../../java/recipes/usetreerandomid) +* [Replace static `Traits` methods with constructor calls](../../java/recipes/migrate/removetraitsusagerecipes) * [Fix missing braces](../../staticanalysis/needbraces) * [Remove `System.out#println` statements](../../staticanalysis/removesystemoutprintln) * [Remove annotation](../../java/removeannotation) @@ -63,6 +64,7 @@ recipeList: - org.openrewrite.java.recipes.NoMutableStaticFieldsInRecipes - org.openrewrite.java.recipes.RecipeEqualsAndHashCodeCallSuper - org.openrewrite.java.recipes.UseTreeRandomId + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes - org.openrewrite.staticanalysis.NeedBraces - org.openrewrite.staticanalysis.RemoveSystemOutPrintln - org.openrewrite.java.RemoveAnnotation: diff --git a/docs/recipes/java/recipes/recipetestingbestpractices.md b/docs/recipes/java/recipes/recipetestingbestpractices.md index cb1bbdce0d..7d1ea40d69 100644 --- a/docs/recipes/java/recipes/recipetestingbestpractices.md +++ b/docs/recipes/java/recipes/recipetestingbestpractices.md @@ -38,6 +38,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Remove `public` visibility of JUnit 5 tests](../../java/testing/cleanup/testsshouldnotbepublic) * [Fix missing braces](../../staticanalysis/needbraces) * [Remove `System.out#println` statements](../../staticanalysis/removesystemoutprintln) +* [Reorder annotations alphabetically](../../staticanalysis/reorderannotations) * [Use static import](../../java/usestaticimport) * methodPattern: `org.openrewrite..Assertions *(..)` @@ -63,6 +64,7 @@ recipeList: - org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic - org.openrewrite.staticanalysis.NeedBraces - org.openrewrite.staticanalysis.RemoveSystemOutPrintln + - org.openrewrite.staticanalysis.ReorderAnnotations - org.openrewrite.java.UseStaticImport: methodPattern: org.openrewrite..Assertions *(..) diff --git a/docs/recipes/java/recipes/reordertestmethods.md b/docs/recipes/java/recipes/reordertestmethods.md index 8cf71e4d74..940195ccf5 100644 --- a/docs/recipes/java/recipes/reordertestmethods.md +++ b/docs/recipes/java/recipes/reordertestmethods.md @@ -30,7 +30,6 @@ This recipe is available under the [Moderne Source Available License](https://do ```java package org.openrewrite.java.cleanup; -import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -43,6 +42,10 @@ import static org.openrewrite.java.Assertions.java; class UnnecessaryParenthesesTest implements RewriteTest { + private static void leadingHelperMethod() { + // This method should not affect the ordering of test methods. + } + @Test void test2() { rewriteRun( @@ -81,7 +84,9 @@ class UnnecessaryParenthesesTest implements RewriteTest { ); } - @AfterAll static void bar(){} + private static void trailingHelperMethod() { + // This method should not affect the ordering of test methods. + } } ``` @@ -89,7 +94,6 @@ class UnnecessaryParenthesesTest implements RewriteTest { ```java package org.openrewrite.java.cleanup; -import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -102,7 +106,9 @@ import static org.openrewrite.java.Assertions.java; class UnnecessaryParenthesesTest implements RewriteTest { - @AfterAll static void bar(){} + private static void leadingHelperMethod() { + // This method should not affect the ordering of test methods. + } @BeforeEach void foo(){} @@ -141,6 +147,10 @@ class UnnecessaryParenthesesTest implements RewriteTest { ) ); } + + private static void trailingHelperMethod() { + // This method should not affect the ordering of test methods. + } } ``` @@ -148,11 +158,9 @@ class UnnecessaryParenthesesTest implements RewriteTest { ```diff -@@ -16,0 +16,12 @@ -class UnnecessaryParenthesesTest implements RewriteTest { +@@ -19,0 +19,10 @@ + } -+ @AfterAll static void bar(){} -+ + @BeforeEach void foo(){} + + @AfterEach void bar(){} @@ -164,13 +172,13 @@ class UnnecessaryParenthesesTest implements RewriteTest { + + @DocumentExample @Test -@@ -17,1 +29,1 @@ +@@ -20,1 +30,1 @@ @Test - void test2() { + void test1() { rewriteRun( -@@ -30,10 +42,0 @@ +@@ -33,10 +43,0 @@ } - @Override @@ -184,18 +192,12 @@ class UnnecessaryParenthesesTest implements RewriteTest { - - @DocumentExample @Test -@@ -41,1 +43,1 @@ +@@ -44,1 +44,1 @@ @DocumentExample @Test - void test1() { + void test2() { rewriteRun( -@@ -53,2 +55,0 @@ - ); - } -- -- @AfterAll static void bar(){} -} ``` diff --git a/docs/recipes/java/recipes/singledocumentexample.md b/docs/recipes/java/recipes/singledocumentexample.md index 9b086bb638..37b8cbb4c5 100644 --- a/docs/recipes/java/recipes/singledocumentexample.md +++ b/docs/recipes/java/recipes/singledocumentexample.md @@ -19,6 +19,107 @@ _Ensures that there is only one `@DocumentExample` annotation per test class, as This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). +## Example + + + + + + +###### Before +```java +import org.junit.jupiter.api.Test; +import org.openrewrite.DocumentExample; +import org.openrewrite.test.RewriteTest; + +import static org.openrewrite.java.Assertions.java; + +class UnnecessaryParenthesesTest implements RewriteTest { + @DocumentExample + @Test + void test1() { + rewriteRun( + java( + """ + BEFORE + """, + """ + AFTER + """ + ) + ); + } + + @DocumentExample + @Test + void test2() { + rewriteRun( + java( + """ + BEFORE + """, + """ + AFTER + """ + ) + ); + } +} +``` + +###### After +```java +import org.junit.jupiter.api.Test; +import org.openrewrite.DocumentExample; +import org.openrewrite.test.RewriteTest; + +import static org.openrewrite.java.Assertions.java; + +class UnnecessaryParenthesesTest implements RewriteTest { + @DocumentExample + @Test + void test1() { + rewriteRun( + java( + """ + BEFORE + """, + """ + AFTER + """ + ) + ); + } + + @Test + void test2() { + rewriteRun( + java( + """ + BEFORE + """, + """ + AFTER + """ + ) + ); + } +} +``` + + + + +```diff +@@ -23,1 +23,0 @@ + } + +- @DocumentExample + @Test +``` + + + ## Usage diff --git a/docs/recipes/java/spring/README.md b/docs/recipes/java/spring/README.md index 362436a88e..fe121f8d14 100644 --- a/docs/recipes/java/spring/README.md +++ b/docs/recipes/java/spring/README.md @@ -5,6 +5,7 @@ _Recipes for upgrading and patching [Spring](https://spring.io/) applications._ ## Categories * [Amqp](/recipes/java/spring/amqp) +* [Boot](/recipes/java/spring/boot) * [Cloud2020](/recipes/java/spring/cloud2020) * [Cloud2021](/recipes/java/spring/cloud2021) * [Cloud2024](/recipes/java/spring/cloud2024) diff --git a/docs/recipes/java/spring/addspringproperty.md b/docs/recipes/java/spring/addspringproperty.md index ab32d60bef..5a32a2f966 100644 --- a/docs/recipes/java/spring/addspringproperty.md +++ b/docs/recipes/java/spring/addspringproperty.md @@ -258,4 +258,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Mike Solomon](mailto:mike@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), Adriano Machado +Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Mike Solomon](mailto:mike@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), Adriano Machado, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md b/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md index d93fefdfc7..bc6a1962b3 100644 --- a/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md +++ b/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md @@ -266,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nate Danner](mailto:nate@moderne.io) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nate Danner](mailto:nate@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/batch/springbatch4to5migration.md b/docs/recipes/java/spring/batch/springbatch4to5migration.md index afa6e9eefa..a93cd9c68c 100644 --- a/docs/recipes/java/spring/batch/springbatch4to5migration.md +++ b/docs/recipes/java/spring/batch/springbatch4to5migration.md @@ -294,4 +294,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[qwtfps](mailto:qwtfps@163.com), pdesprez, [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:tim@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Kun Li, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com) +[qwtfps](mailto:qwtfps@163.com), pdesprez, [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:tim@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Kun Li, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md b/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md index 2cc339ef5d..b7c0df5ab1 100644 --- a/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md +++ b/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md @@ -339,4 +339,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Curtis](mailto:curtis@mail.ustc.edu.cn), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Curtis](mailto:curtis@mail.ustc.edu.cn), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/boot/README.md b/docs/recipes/java/spring/boot/README.md new file mode 100644 index 0000000000..e14bc8ad68 --- /dev/null +++ b/docs/recipes/java/spring/boot/README.md @@ -0,0 +1,15 @@ +# Boot + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Migrate Spring to Spring Boot](./springtospringboot.md) + +## Recipes + +* [Is likely a Spring Boot project](./islikelyspringboot.md) +* [Is likely not a Spring Boot project](./islikelynotspringboot.md) +* [Migrate Spring Framework Dependencies to Spring Boot](./migratespringframeworkdependenciestospringboot.md) + + diff --git a/docs/recipes/java/spring/boot/islikelynotspringboot.md b/docs/recipes/java/spring/boot/islikelynotspringboot.md new file mode 100644 index 0000000000..bc59a5b49f --- /dev/null +++ b/docs/recipes/java/spring/boot/islikelynotspringboot.md @@ -0,0 +1,197 @@ +--- +sidebar_label: "Is likely not a Spring Boot project" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Is likely not a Spring Boot project + +**io.moderne.java.spring.boot.IsLikelyNotSpringBoot** + +_Marks the project if it's likely not a Spring Boot project._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + +## Example + + + + + + +###### Before +```java +package org.example; + +class Main {} +``` + +###### After +```java +/*~~>*/package org.example; + +class Main {} +``` + + + + +```diff +@@ -1,1 +1,1 @@ +-package org.example; ++/*~~>*/package org.example; + +``` + + + +###### Unchanged +```mavenProject +project +``` + + + + + +###### Before +```xml title="pom.xml" + + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework + spring-core + 6.2.8 + + + +``` + +###### After +```xml title="pom.xml" + + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework + spring-core + 6.2.8 + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -1,1 +1,1 @@ +- ++ + com.example +``` + + + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe IsLikelyNotSpringBoot +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/spring/boot/islikelyspringboot.md b/docs/recipes/java/spring/boot/islikelyspringboot.md new file mode 100644 index 0000000000..4518b5b0b4 --- /dev/null +++ b/docs/recipes/java/spring/boot/islikelyspringboot.md @@ -0,0 +1,197 @@ +--- +sidebar_label: "Is likely a Spring Boot project" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Is likely a Spring Boot project + +**io.moderne.java.spring.boot.IsLikelySpringBoot** + +_Marks the project if it's likely a Spring Boot project._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + +## Example + + + + + + +###### Before +```java +package org.example; + +class Main {} +``` + +###### After +```java +/*~~>*/package org.example; + +class Main {} +``` + + + + +```diff +@@ -1,1 +1,1 @@ +-package org.example; ++/*~~>*/package org.example; + +``` + + + +###### Unchanged +```mavenProject +project +``` + + + + + +###### Before +```xml title="pom.xml" + + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework.boot + spring-boot-starter-web + 3.5.0 + + + +``` + +###### After +```xml title="pom.xml" + + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework.boot + spring-boot-starter-web + 3.5.0 + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -1,1 +1,1 @@ +- ++ + com.example +``` + + + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe IsLikelySpringBoot +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/spring/boot/migratespringframeworkdependenciestospringboot.md b/docs/recipes/java/spring/boot/migratespringframeworkdependenciestospringboot.md new file mode 100644 index 0000000000..414e14c7a4 --- /dev/null +++ b/docs/recipes/java/spring/boot/migratespringframeworkdependenciestospringboot.md @@ -0,0 +1,216 @@ +--- +sidebar_label: "Migrate Spring Framework Dependencies to Spring Boot" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Framework Dependencies to Spring Boot + +**io.moderne.java.spring.boot.MigrateSpringFrameworkDependenciesToSpringBoot** + +_Migrate Spring Framework Dependencies to Spring Boot._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + +## Example + + +###### Unchanged +```java +package org.example; + +class Main {} +``` + +###### Unchanged +```mavenProject +project +``` + + + + + +###### Before +```xml title="pom.xml" + + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework + spring-core + 5.0.0.RELEASE + + + +``` + +###### After +```xml title="pom.xml" + + com.example + fooservice + 1.0-SNAPSHOT + + + + org.springframework.boot + spring-boot-dependencies + 2.0.9.RELEASE + pom + import + + + + + + org.springframework + spring-core + 5.0.0.RELEASE + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -5,0 +5,11 @@ + fooservice + 1.0-SNAPSHOT ++ ++ ++ ++ org.springframework.boot ++ spring-boot-dependencies ++ 2.0.9.RELEASE ++ pom ++ import ++ ++ ++ + +@@ -12,0 +23,8 @@ + + ++ ++ ++ ++ org.springframework.boot ++ spring-boot-maven-plugin ++ ++ ++ + +``` + + + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe MigrateSpringFrameworkDependenciesToSpringBoot +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/spring/boot/springtospringboot.md b/docs/recipes/java/spring/boot/springtospringboot.md new file mode 100644 index 0000000000..7c960dd3d0 --- /dev/null +++ b/docs/recipes/java/spring/boot/springtospringboot.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring to Spring Boot" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring to Spring Boot + +**io.moderne.java.spring.boot.SpringToSpringBoot** + +_Migrate non Spring Boot applications to the latest compatible Spring Boot release. This recipe will modify an application's build files introducing Maven dependency management for Spring Boot, or adding the Gradle Spring Boot build plugin._ + +### Tags + +* spring +* boot + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe SpringToSpringBoot +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/spring/boot2/migratedatabasecredentials.md b/docs/recipes/java/spring/boot2/migratedatabasecredentials.md index bebb6aac3e..5a3fb1a388 100644 --- a/docs/recipes/java/spring/boot2/migratedatabasecredentials.md +++ b/docs/recipes/java/spring/boot2/migratedatabasecredentials.md @@ -285,4 +285,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) diff --git a/docs/recipes/java/spring/boot2/outputcaptureextension.md b/docs/recipes/java/spring/boot2/outputcaptureextension.md index ed2d8f60be..521dd99482 100644 --- a/docs/recipes/java/spring/boot2/outputcaptureextension.md +++ b/docs/recipes/java/spring/boot2/outputcaptureextension.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Aaron Gershman](mailto:aegershman@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Aaron Gershman](mailto:aegershman@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md b/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md index 6856574762..80f28766ac 100644 --- a/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md +++ b/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md @@ -276,4 +276,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Knut Wannheden](mailto:knut@moderne.io), nbruno, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Tyler Van Gorder, Kun Li, [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), Aaron Gershman, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Knut Wannheden](mailto:knut@moderne.io), nbruno, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Tyler Van Gorder, Kun Li, [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Aaron Gershman, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md index 39b403cf81..24d56981cc 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md @@ -349,4 +349,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, nbruno, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Tyler Van Gorder, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Kun Li](mailto:kun@moderne.io), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, rob-valor, eocantu +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, nbruno, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Kun Li](mailto:kun@moderne.io), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, rob-valor, eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md index 8e140fc7bf..1071433286 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md @@ -590,4 +590,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), SiBorea, Fabian Krüger, Kun Li, nbruno, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Kun Li](mailto:kun@moderne.io), Tyler Van Gorder, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), rob-valor, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), eocantu +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), SiBorea, Fabian Krüger, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, nbruno, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Tyler Van Gorder, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Kun Li](mailto:kun@moderne.io), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), rob-valor, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md index 3c803518a3..07384d0d71 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md @@ -323,4 +323,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Fabian Krüger, Kun Li, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), nbruno, [adammak](mailto:maka9@mcmaster.ca), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Kun Li](mailto:kun@moderne.io), Tyler Van Gorder, [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), rob-valor, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), eocantu +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Fabian Krüger, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), nbruno, [adammak](mailto:maka9@mcmaster.ca), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Tyler Van Gorder, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Kun Li](mailto:kun@moderne.io), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), rob-valor, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md index dff0d5e79d..352fb81ee9 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md @@ -355,4 +355,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Kun Li, Fabian Krüger, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), nbruno, [adammak](mailto:maka9@mcmaster.ca), Sandeep Nagaraj, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Kun Li](mailto:kun@moderne.io), Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman, Josh Soref, [Joan Viladrosa](mailto:joan@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), rob-valor, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), eocantu +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Kun Li, Fabian Krüger, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), nbruno, [adammak](mailto:maka9@mcmaster.ca), Sandeep Nagaraj, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Kun Li](mailto:kun@moderne.io), Aaron Gershman, Josh Soref, [Joan Viladrosa](mailto:joan@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), rob-valor, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), eocantu diff --git a/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md b/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md index dbb882546b..04d5aeaebe 100644 --- a/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md +++ b/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md @@ -277,4 +277,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Kun Li](mailto:kun@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Kun Li](mailto:kun@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/boot3/enablevirtualthreads.md b/docs/recipes/java/spring/boot3/enablevirtualthreads.md index 38d64ae8e6..e110f016ec 100644 --- a/docs/recipes/java/spring/boot3/enablevirtualthreads.md +++ b/docs/recipes/java/spring/boot3/enablevirtualthreads.md @@ -68,42 +68,12 @@ spring.threads.virtual.enabled=true -###### New file -```yaml -spring: - threads: - virtual: - enabled: true -``` - - ---- - -##### Example 3 - - - ###### New file ```properties spring.threads.virtual.enabled=true ``` ---- - -##### Example 4 - - - -###### New file -```yaml -spring: - threads: - virtual: - enabled: true -``` - - ## Usage diff --git a/docs/recipes/java/spring/boot3/removereplacenonefromautoconfiguretestdatabase.md b/docs/recipes/java/spring/boot3/removereplacenonefromautoconfiguretestdatabase.md index b9b1d647c5..7271b9856f 100644 --- a/docs/recipes/java/spring/boot3/removereplacenonefromautoconfiguretestdatabase.md +++ b/docs/recipes/java/spring/boot3/removereplacenonefromautoconfiguretestdatabase.md @@ -109,4 +109,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io) +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/boot3/springboot33bestpractices.md b/docs/recipes/java/spring/boot3/springboot33bestpractices.md index a6a6bf9dfd..8acf7ff078 100644 --- a/docs/recipes/java/spring/boot3/springboot33bestpractices.md +++ b/docs/recipes/java/spring/boot3/springboot33bestpractices.md @@ -263,4 +263,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Simon Zilliken, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Cathy, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Chuka Obinabo, Kun Li, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Simon Zilliken, Patrick Way, [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:timtebeek@gmail.com), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Cathy, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), Adriano Machado, [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/springboot3bestpractices.md b/docs/recipes/java/spring/boot3/springboot3bestpractices.md index 3006f60749..2151534ef8 100644 --- a/docs/recipes/java/spring/boot3/springboot3bestpractices.md +++ b/docs/recipes/java/spring/boot3/springboot3bestpractices.md @@ -133,4 +133,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Chuka Obinabo, Simon Zilliken, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Patrick Way, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Cathy, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Simon Zilliken, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Patrick Way, Cathy, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Tim te Beek](mailto:timtebeek@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), John Burns, Aakarshit Uppal, BramliAK, Adriano Machado, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md index c96b81a3cb..471368a2ff 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md @@ -1398,4 +1398,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Alex Boyko](mailto:aboyko@vmware.com), Anu Ramamoorthy, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, SiBorea, Kun Li, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), 123Haynes, BhavanaPidapa, [Niels de Bruin](mailto:nielsdebruin@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Cathy, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), Fabian Krüger, [Kun Li](mailto:kun@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), Kushank24, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [adammak](mailto:maka9@mcmaster.ca), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Sandeep Nagaraj, Michel Gonzalez, [BoykoAlex](mailto:aboyko@pivotal.io), [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), Tyler Van Gorder, [Michael Keppler](mailto:bananeweizen@gmx.de), [Shannon Pamperl](mailto:shanman190@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), Aakarshit Uppal, BramliAK, eocantu, Josh Soref, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Alex Boyko](mailto:aboyko@vmware.com), Anu Ramamoorthy, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, SiBorea, Kun Li, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), 123Haynes, BhavanaPidapa, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Tim te Beek](mailto:timtebeek@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Cathy, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), Fabian Krüger, Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Kun Li](mailto:kun@moderne.io), Kushank24, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [adammak](mailto:maka9@mcmaster.ca), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Sandeep Nagaraj, Michel Gonzalez, [BoykoAlex](mailto:aboyko@pivotal.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), Tyler Van Gorder, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), [Shannon Pamperl](mailto:shanman190@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), Aakarshit Uppal, BramliAK, eocantu, Josh Soref, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), Adriano Machado, rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md index 70b39e3eea..f6a0890d0c 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md @@ -317,4 +317,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Chuka Obinabo, Anu Ramamoorthy, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Kun Li, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [qwtfps](mailto:qwtfps@163.com), pdesprez, Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Simon Zilliken, [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), 123Haynes, [Guillaume Husta](mailto:guillaume.husta@gmail.com), BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Kun Li](mailto:kun@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Cathy, Fabian Krüger, [Tim te Beek](mailto:timtebeek@gmail.com), Kushank24, Michel Gonzalez, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), Aaron Gershman, [Johannes Jank](mailto:johannes.wengert@googlemail.com), Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Chuka Obinabo, Anu Ramamoorthy, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Kun Li, [Laurens Westerlaken](mailto:laurens.w@live.nl), [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), Simon Zilliken, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), 123Haynes, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Tim te Beek](mailto:timtebeek@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Kun Li](mailto:kun@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Cathy, Fabian Krüger, Kushank24, Michel Gonzalez, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), Aaron Gershman, [Johannes Jank](mailto:johannes.wengert@googlemail.com), Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md index 8102b2fff8..86a49064e3 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md @@ -373,4 +373,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Chuka Obinabo, Kun Li, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [qwtfps](mailto:qwtfps@163.com), pdesprez, Simon Zilliken, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Cathy, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Chuka Obinabo, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Anu Ramamoorthy, Patrick Way, [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Simon Zilliken, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:timtebeek@gmail.com), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Cathy, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), Adriano Machado, [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md index bf7e82e06a..2fb90dbad3 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md @@ -480,4 +480,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Simon Zilliken, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Cathy, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), Chuka Obinabo, Kun Li, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Simon Zilliken, Patrick Way, [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Tim te Beek](mailto:timtebeek@gmail.com), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Cathy, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Greg Adams](mailto:gadams@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), Adriano Machado, [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md index 26cdbc6eef..9aa9b4098f 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md @@ -36,6 +36,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate to Spring Boot 3.3](../../../java/spring/boot3/upgradespringboot_3_3) * [Migrate to Spring Framework 6.2](../../../java/spring/framework/upgradespringframework_6_2) * [Migrate to Spring Cloud 2024](../../../java/spring/cloud2024/upgradespringcloud_2024) +* [Migrate to Spring Data 3.4](../../../java/spring/data/upgradespringdata_3_4) * [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) * groupId: `org.springframework.boot` * artifactId: `*` @@ -88,6 +89,7 @@ recipeList: - org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3 - org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_2 - org.openrewrite.java.spring.cloud2024.UpgradeSpringCloud_2024 + - org.openrewrite.java.spring.data.UpgradeSpringData_3_4 - org.openrewrite.java.dependencies.UpgradeDependencyVersion: groupId: org.springframework.boot artifactId: "*" @@ -337,4 +339,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Simon Zilliken, Patrick Way, Cathy, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Simon Zilliken, Patrick Way, Cathy, [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Tim te Beek](mailto:timtebeek@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), John Burns, Aakarshit Uppal, BramliAK, Adriano Machado, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md index a73e59b40d..15018f70fb 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md @@ -133,4 +133,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Chuka Obinabo, Simon Zilliken, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Patrick Way, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Cathy, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Simon Zilliken, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Patrick Way, Cathy, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Tim te Beek](mailto:timtebeek@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), John Burns, Aakarshit Uppal, BramliAK, Adriano Machado, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md index 309108253b..738dd7bbe2 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md @@ -184,4 +184,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Chuka Obinabo, Simon Zilliken, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Patrick Way, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Cathy, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), 123Haynes, BhavanaPidapa, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Evie Lau, [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, John Burns, Aakarshit Uppal, BramliAK, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), [Sam Snyder](mailto:sam@moderne.io), Chuka Obinabo, [Laurens Westerlaken](mailto:laurens.w@live.nl), Simon Zilliken, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Patrick Way, Cathy, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Shannon Pamperl](mailto:shanman190@gmail.com), Kushank24, [Tim te Beek](mailto:timtebeek@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), 123Haynes, [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), Evie Lau, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Michel Gonzalez, Fabian Krüger, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [adammak](mailto:maka9@mcmaster.ca), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Greg Adams](mailto:gadams@gmail.com), Sandeep Nagaraj, [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [BoykoAlex](mailto:aboyko@pivotal.io), Anshuman Mishra, Tyler Van Gorder, [Greg Adams](mailto:greg@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), John Burns, Aakarshit Uppal, BramliAK, Adriano Machado, [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), eocantu, [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), rob-valor, [JohannisK](mailto:johan.kragt@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) diff --git a/docs/recipes/java/spring/changemethodparameter.md b/docs/recipes/java/spring/changemethodparameter.md index a1355e5b91..c398c0b679 100644 --- a/docs/recipes/java/spring/changemethodparameter.md +++ b/docs/recipes/java/spring/changemethodparameter.md @@ -232,4 +232,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Curtis](mailto:curtis@mail.ustc.edu.cn), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Curtis](mailto:curtis@mail.ustc.edu.cn), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/data/README.md b/docs/recipes/java/spring/data/README.md index fc330aff20..8e29c6c592 100644 --- a/docs/recipes/java/spring/data/README.md +++ b/docs/recipes/java/spring/data/README.md @@ -6,13 +6,15 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate to Spring Data 2.3](./upgradespringdata_2_3.md) * [Migrate to Spring Data 2.5](./upgradespringdata_2_5.md) -* [Migrate to Spring Data 2.7](./upgradespringdata_2_7.md) * [Use `JpaRepository#getReferenceById(ID id)`](./usejparepositorygetreferencebyid.md) ## Recipes * [Convert `JdbcTemplate.queryForLong(..)` to `queryForObject(..)`](./jdbctemplatequeryforlongmigration.md) * [Make AuditorAware.getCurrentAuditor return `Optional`](./migrateauditorawaretooptional.md) +* [Migrate to Spring Data 2.7](./upgradespringdata_2_7.md) +* [Migrate to Spring Data 3.4](./upgradespringdata_3_4.md) +* [Replace `@Query` annotation by `@NativeQuery` when possible](./migratequerytonativequery.md) * [Use `JpaRepository#deleteAllInBatch(Iterable entities)`](./usejparepositorydeleteallinbatch.md) * [Use `JpaRepository#getById(ID id)`](./usejparepositorygetbyid.md) * [Use `JpaSort.of(..)`](./migratejpasort.md) diff --git a/docs/recipes/java/spring/data/migratequerytonativequery.md b/docs/recipes/java/spring/data/migratequerytonativequery.md new file mode 100644 index 0000000000..148f860476 --- /dev/null +++ b/docs/recipes/java/spring/data/migratequerytonativequery.md @@ -0,0 +1,262 @@ +--- +sidebar_label: "Replace @Query annotation by @NativeQuery when possible" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace `@Query` annotation by `@NativeQuery` when possible + +**org.openrewrite.java.spring.data.MigrateQueryToNativeQuery** + +_Replace `@Query` annotation by `@NativeQuery` when `nativeQuery = true`. `@NativeQuery` was introduced in Spring Data JPA 3.4._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateQueryToNativeQuery.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Example + + + + + + +###### Before +```java +import org.springframework.data.jpa.repository.Query; + +interface Test { + + @Query(value = "select * from foo", nativeQuery = true) + void customQuery(); +} +``` + +###### After +```java +import org.springframework.data.jpa.repository.NativeQuery; + +interface Test { + + @NativeQuery("select * from foo") + void customQuery(); +} +``` + + + + +```diff +@@ -1,1 +1,1 @@ +-import org.springframework.data.jpa.repository.Query; ++import org.springframework.data.jpa.repository.NativeQuery; + +@@ -5,1 +5,1 @@ +interface Test { + +- @Query(value = "select * from foo", nativeQuery = true) ++ @NativeQuery("select * from foo") + void customQuery(); +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.spring.data.MigrateQueryToNativeQuery") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}}") + } + rewrite { + activeRecipe("org.openrewrite.java.spring.data.MigrateQueryToNativeQuery") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.spring.data.MigrateQueryToNativeQuery + + + + + org.openrewrite.recipe + rewrite-spring + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.spring.data.MigrateQueryToNativeQuery -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe MigrateQueryToNativeQuery +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Guillaume Husta](mailto:guillaume.husta@gmail.com) diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_5.md b/docs/recipes/java/spring/data/upgradespringdata_2_5.md index 8affa460f1..7ecd89cd5d 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_5.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_5.md @@ -28,7 +28,6 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Migrate to Spring Data 2.3](../../../java/spring/data/upgradespringdata_2_3) * [Use `JpaRepository#getById(ID id)`](../../../java/spring/data/usejparepositorygetbyid) * [Use `JpaRepository#deleteAllInBatch(Iterable entities)`](../../../java/spring/data/usejparepositorydeleteallinbatch) @@ -44,7 +43,6 @@ displayName: Migrate to Spring Data 2.5 description: | Migrate applications to the latest Spring Data 2.5 release. recipeList: - - org.openrewrite.java.spring.data.UpgradeSpringData_2_3 - org.openrewrite.java.spring.data.UseJpaRepositoryGetById - org.openrewrite.java.spring.data.UseJpaRepositoryDeleteAllInBatch @@ -242,6 +240,3 @@ _Statistics used in analyzing the performance of recipes._ - -## Contributors -[Tim te Beek](mailto:tim@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Kun Li](mailto:kun@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com) diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_7.md b/docs/recipes/java/spring/data/upgradespringdata_2_7.md index 0709e87cda..58649794ca 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_7.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_7.md @@ -17,10 +17,6 @@ _Migrate applications to the latest Spring Data 2.7 release._ [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: - This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). @@ -28,7 +24,6 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Migrate to Spring Data 2.5](../../../java/spring/data/upgradespringdata_2_5) * [Use `JpaRepository#getReferenceById(ID id)`](../../../java/spring/data/usejparepositorygetreferencebyid) @@ -43,7 +38,6 @@ displayName: Migrate to Spring Data 2.7 description: | Migrate applications to the latest Spring Data 2.7 release. recipeList: - - org.openrewrite.java.spring.data.UpgradeSpringData_2_5 - org.openrewrite.java.spring.data.UseJpaRepositoryGetReferenceById ``` @@ -240,6 +234,3 @@ _Statistics used in analyzing the performance of recipes._ - -## Contributors -[Tim te Beek](mailto:tim@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Kun Li](mailto:kun@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com) diff --git a/docs/recipes/java/spring/data/upgradespringdata_3_4.md b/docs/recipes/java/spring/data/upgradespringdata_3_4.md new file mode 100644 index 0000000000..11e01c53ac --- /dev/null +++ b/docs/recipes/java/spring/data/upgradespringdata_3_4.md @@ -0,0 +1,239 @@ +--- +sidebar_label: "Migrate to Spring Data 3.4" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate to Spring Data 3.4 + +**org.openrewrite.java.spring.data.UpgradeSpringData\_3\_4** + +_Migrate applications to the latest Spring Data 3.4 release._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-34.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Definition + + + +* [Replace `@Query` annotation by `@NativeQuery` when possible](../../../java/spring/data/migratequerytonativequery) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.spring.data.UpgradeSpringData_3_4 +displayName: Migrate to Spring Data 3.4 +description: | + Migrate applications to the latest Spring Data 3.4 release. +recipeList: + - org.openrewrite.java.spring.data.MigrateQueryToNativeQuery + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.java.spring.data.UpgradeSpringData_3_4") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}}") + } + rewrite { + activeRecipe("org.openrewrite.java.spring.data.UpgradeSpringData_3_4") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.java.spring.data.UpgradeSpringData_3_4 + + + + + org.openrewrite.recipe + rewrite-spring + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.spring.data.UpgradeSpringData_3_4 -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe UpgradeSpringData_3_4 +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Guillaume Husta](mailto:guillaume.husta@gmail.com) diff --git a/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md b/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md index 70222ce41f..40607623a1 100644 --- a/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md +++ b/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md @@ -257,4 +257,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Kun Li +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/expandproperties.md b/docs/recipes/java/spring/expandproperties.md index 4341bfb8f5..0d8c4a6e49 100644 --- a/docs/recipes/java/spring/expandproperties.md +++ b/docs/recipes/java/spring/expandproperties.md @@ -265,4 +265,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Patrick Way, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +Patrick Way, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) diff --git a/docs/recipes/java/spring/framework/README.md b/docs/recipes/java/spring/framework/README.md index 9ebc4beb00..1bc425232c 100644 --- a/docs/recipes/java/spring/framework/README.md +++ b/docs/recipes/java/spring/framework/README.md @@ -1,5 +1,9 @@ # Spring Framework +## Categories + +* [Webxml](/recipes/java/spring/framework/webxml) + ## Composite Recipes _Recipes that include further recipes, often including the individual recipes below._ @@ -18,6 +22,7 @@ _Recipes that include further recipes, often including the individual recipes be * [`@Bean` methods may not return `void`](./beanmethodreturnnull.md) * [Convert `InstantiationAwareBeanPostProcessorAdapter` to `SmartInstantiationAwareBeanPostProcessor`](./migrateinstantiationawarebeanpostprocessoradapter.md) +* [Is likely a Spring Framework project](./islikelyspringframework.md) * [Migrate `HandlerInterceptorAdapter` to `HandlerInterceptor`](./migratehandlerinterceptor.md) * [Migrate `HandlerResult.hasExceptionHandler()` to `getExceptionHandler()`](./migratehandlerresulthasexceptionhandlermethod.md) * [Migrate `MethodArgumentNotValidException.errorsToStringList` and `resolveErrorMessages`](./migratemethodargumentnotvalidexceptionerrormethod.md) diff --git a/docs/recipes/java/spring/framework/islikelyspringframework.md b/docs/recipes/java/spring/framework/islikelyspringframework.md new file mode 100644 index 0000000000..51fd5dcb98 --- /dev/null +++ b/docs/recipes/java/spring/framework/islikelyspringframework.md @@ -0,0 +1,199 @@ +--- +sidebar_label: "Is likely a Spring Framework project" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Is likely a Spring Framework project + +**io.moderne.java.spring.framework.IsLikelySpringFramework** + +_Marks the project if it's likely a Spring Framework project._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + +## Example + + + + + + +###### Before +```java +package org.example; + +class Main {} +``` + +###### After +```java +/*~~(Module is likely a Spring Framework Project)~~>*/package org.example; + +class Main {} +``` + + + + +```diff +@@ -1,1 +1,1 @@ +-package org.example; ++/*~~(Module is likely a Spring Framework Project)~~>*/package org.example; + +``` + + + +###### Unchanged +```mavenProject +project +``` + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework + spring-core + 6.2.8 + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + com.example + fooservice + 1.0-SNAPSHOT + + + org.springframework + spring-core + 6.2.8 + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -1,1 +1,1 @@ +- ++ + 4.0.0 +``` + + + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe IsLikelySpringFramework +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_0.md b/docs/recipes/java/spring/framework/upgradespringframework_6_0.md index 037b8c841e..87482a89a7 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_0.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_0.md @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) +[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_1.md b/docs/recipes/java/spring/framework/upgradespringframework_6_1.md index c74b1755e2..f0dbaa477c 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_1.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_1.md @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) +[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_2.md b/docs/recipes/java/spring/framework/upgradespringframework_6_2.md index df3b91d293..a7362f8610 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_2.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_2.md @@ -304,4 +304,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), Cathy, [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Tim te Beek](mailto:tim@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) +[Joan Viladrosa](mailto:joan@moderne.io), Cathy, [steve-aom-elliott](mailto:steve@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Patrick Way, Kushank24, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Patrick](mailto:patway99@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), SiBorea, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), Adriano Machado, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/java/spring/framework/webxml/README.md b/docs/recipes/java/spring/framework/webxml/README.md new file mode 100644 index 0000000000..e8a041deb5 --- /dev/null +++ b/docs/recipes/java/spring/framework/webxml/README.md @@ -0,0 +1,8 @@ +# Webxml + +## Recipes + +* [Delete empty `web.xml` files](./deleteemptywebxml.md) +* [Migrate ´web.xml` to `WebApplicationInitializer`](./webxmltowebapplicationinitializer.md) + + diff --git a/docs/recipes/java/spring/framework/webxml/deleteemptywebxml.md b/docs/recipes/java/spring/framework/webxml/deleteemptywebxml.md new file mode 100644 index 0000000000..dd97c6d6b3 --- /dev/null +++ b/docs/recipes/java/spring/framework/webxml/deleteemptywebxml.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Delete empty web.xml files" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Delete empty `web.xml` files + +**io.moderne.java.spring.framework.webxml.DeleteEmptyWebXml** + +_Deletes `web.xml` files that contain only an empty `` root element with no child elements._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe DeleteEmptyWebXml +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/spring/framework/webxml/webxmltowebapplicationinitializer.md b/docs/recipes/java/spring/framework/webxml/webxmltowebapplicationinitializer.md new file mode 100644 index 0000000000..e86bc4fd41 --- /dev/null +++ b/docs/recipes/java/spring/framework/webxml/webxmltowebapplicationinitializer.md @@ -0,0 +1,223 @@ +--- +sidebar_label: "Migrate ´web.xml to WebApplicationInitializer" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate ´web.xml` to `WebApplicationInitializer` + +**io.moderne.java.spring.framework.webxml.WebXmlToWebApplicationInitializer** + +_Migrate `web.xml` to `WebApplicationInitializer` for Spring applications. This allows for programmatic configuration of the web application context, replacing the need for XML-based configuration. This recipe only picks up `web.xml` files located in the `src/main/webapp/WEB-INF` directory to avoid inference with tests._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `boolean` | useJakartaEE | If true, the recipe will migrate to Jakarta EE 9+ namespaces. If false, it will use the javax.servlet namespace. | `true` | + +## Example + +###### Parameters +| Parameter | Value | +| -- | -- | +|useJakartaEE|`true`| + + + +###### New file +```java +package org.openrewrite; + +import org.springframework.web.WebApplicationInitializer; +import jakarta.servlet.ServletContext; +import jakarta.servlet.ServletException; +import jakarta.servlet.ServletRegistration; + +public class WebXmlWebAppInitializer implements WebApplicationInitializer { + @Override + public void onStartup(ServletContext servletContext) throws ServletException { + ServletRegistration.Dynamic dispatcher = servletContext.addServlet("dispatcher", org.springframework.web.servlet.DispatcherServlet.class); + dispatcher.setLoadOnStartup(1); + dispatcher.addMapping("/services/*"); + } +} +``` + + +###### Unchanged +```java +package org.openrewrite; + +class SomeClass { } +``` + +###### Unchanged +```mavenProject +main +``` + + + + + +###### Before +```xml + + + + + + dispatcher + org.springframework.web.servlet.DispatcherServlet + 1 + + + + dispatcher + /services/* + + +``` + +###### After +```xml + + + + + +``` + + + + +```diff +@@ -6,10 +6,0 @@ + + +- +- dispatcher +- org.springframework.web.servlet.DispatcherServlet +- 1 +- +- +- +- dispatcher +- /services/* +- + +``` + + + + +## Usage + +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + +```yaml title="rewrite.yml" +--- +type: specs.openrewrite.org/v1beta/recipe +name: com.yourorg.WebXmlToWebApplicationInitializerExample +displayName: Migrate ´web.xml` to `WebApplicationInitializer` example +recipeList: + - io.moderne.java.spring.framework.webxml.WebXmlToWebApplicationInitializer: + useJakartaEE: false +``` + + + + +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. + +```shell title="shell" +mod run . --recipe WebXmlToWebApplicationInitializer --recipe-option "useJakartaEE=false" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/java/spring/search/findapicalls.md b/docs/recipes/java/spring/search/findapicalls.md index 26beea1992..ebad56af7c 100644 --- a/docs/recipes/java/spring/search/findapicalls.md +++ b/docs/recipes/java/spring/search/findapicalls.md @@ -282,4 +282,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/spring/search/findapiendpoints.md b/docs/recipes/java/spring/search/findapiendpoints.md index fe11702a4d..35f59c75a7 100644 --- a/docs/recipes/java/spring/search/findapiendpoints.md +++ b/docs/recipes/java/spring/search/findapiendpoints.md @@ -19,8 +19,7 @@ _Find all HTTP API endpoints exposed by Spring applications. More specifically, This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). -## Examples -##### Example 1 +## Example @@ -69,55 +68,6 @@ class PersonController { ---- - -##### Example 2 - - - - - - -###### Before -```java -import org.springframework.web.bind.annotation.*; - -@RequestMapping("/person") -class PersonController { - @GetMapping("/count") - int count() { - return 42; - } -} -``` - -###### After -```java -import org.springframework.web.bind.annotation.*; - -@RequestMapping("/person") -class PersonController { - /*~~(GET /person/count)~~>*/@GetMapping("/count") - int count() { - return 42; - } -} -``` - - - - -```diff -@@ -5,1 +5,1 @@ -@RequestMapping("/person") -class PersonController { -- @GetMapping("/count") -+ /*~~(GET /person/count)~~>*/@GetMapping("/count") - int count() { -``` - - - ## Usage @@ -329,4 +279,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Adrien Loison, [Knut Wannheden](mailto:knut@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Adrien Loison, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md b/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md index aa96a1b47f..39c9371b01 100644 --- a/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md +++ b/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md @@ -290,4 +290,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Alex Boyko](mailto:aboyko@vmware.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kun Li](mailto:kun@moderne.io), Kun Li, Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Shannon Pamperl](mailto:shanman190@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) +[Alex Boyko](mailto:aboyko@vmware.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kun Li](mailto:kun@moderne.io), Kun Li, Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Shannon Pamperl](mailto:shanman190@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/security5/usenewsecuritymatchers.md b/docs/recipes/java/spring/security5/usenewsecuritymatchers.md index 7778b1f82e..dc6ef0352e 100644 --- a/docs/recipes/java/spring/security5/usenewsecuritymatchers.md +++ b/docs/recipes/java/spring/security5/usenewsecuritymatchers.md @@ -283,4 +283,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Kun Li +[Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md index 2885492bd6..d71c7be4cb 100644 --- a/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md @@ -271,4 +271,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md index a551165389..ff3a1e8ec9 100644 --- a/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md @@ -281,4 +281,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md index 47c9b2f456..ff9d9f5eb2 100644 --- a/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md @@ -281,4 +281,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md index 57d507aebf..4f30fd7650 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md @@ -274,4 +274,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Tim te Beek](mailto:timtebeek@gmail.com), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md index c22d94e62a..eeaa430dbd 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md @@ -270,4 +270,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Tim te Beek](mailto:timtebeek@gmail.com), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md index a215b4826e..6cd001a862 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md @@ -268,4 +268,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Tim te Beek](mailto:timtebeek@gmail.com), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_4.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_4.md index 69654b887b..2d69c111db 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_4.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_4.md @@ -167,4 +167,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Tim te Beek](mailto:timtebeek@gmail.com), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), [Alex Boyko](mailto:aboyko@vmware.com), Kun Li, [Shannon Pamperl](mailto:shanman190@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), Michel Gonzalez, [Johannes Jank](mailto:johannes.wengert@googlemail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Patrick Way, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com) diff --git a/docs/recipes/java/springdoc/springfoxtospringdoc.md b/docs/recipes/java/springdoc/springfoxtospringdoc.md index 26cfd4853f..87cae2dec4 100644 --- a/docs/recipes/java/springdoc/springfoxtospringdoc.md +++ b/docs/recipes/java/springdoc/springfoxtospringdoc.md @@ -256,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, Tyler Van Gorder, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com) +SiBorea, Tyler Van Gorder, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [adammak](mailto:maka9@mcmaster.ca), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/springdoc/swaggertospringdoc.md b/docs/recipes/java/springdoc/swaggertospringdoc.md index f0631090e8..81ea329512 100644 --- a/docs/recipes/java/springdoc/swaggertospringdoc.md +++ b/docs/recipes/java/springdoc/swaggertospringdoc.md @@ -276,4 +276,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, Tyler Van Gorder, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com) +SiBorea, Tyler Van Gorder, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [adammak](mailto:maka9@mcmaster.ca), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md b/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md index 99f3391421..717ee8b665 100644 --- a/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md +++ b/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md @@ -276,4 +276,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Aleksandar A Simpson](mailto:alek@asu.me), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Marvin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jeremy Tymes](mailto:jeremy@jtymes.net) +[Aleksandar A Simpson](mailto:alek@asu.me), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Marvin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jeremy Tymes](mailto:jeremy@jtymes.net) diff --git a/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md b/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md index a15c8af183..37dc2770b1 100644 --- a/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md +++ b/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md @@ -959,4 +959,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Aleksandar A Simpson](mailto:alek@asu.me), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Marvin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jeremy Tymes](mailto:jeremy@jtymes.net), [Tim te Beek](mailto:timtebeek@gmail.com) +[Aleksandar A Simpson](mailto:alek@asu.me), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Marvin, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jeremy Tymes](mailto:jeremy@jtymes.net), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/java/testing/cleanup/bestpractices.md b/docs/recipes/java/testing/cleanup/bestpractices.md index 16eae9579e..10b2701ac5 100644 --- a/docs/recipes/java/testing/cleanup/bestpractices.md +++ b/docs/recipes/java/testing/cleanup/bestpractices.md @@ -248,4 +248,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim.te.beek@jdriven.com), Patrick Way, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Arlo O'Keeffe](mailto:digiput@k5d.de), [Michael Keppler](mailto:bananeweizen@gmx.de) +[Tim te Beek](mailto:tim.te.beek@jdriven.com), Patrick Way, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Arlo O'Keeffe](mailto:digiput@k5d.de), [Michael Keppler](mailto:bananeweizen@gmx.de) diff --git a/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md b/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md index a874406b18..9bd7e383ba 100644 --- a/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md +++ b/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md @@ -287,4 +287,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Patrick Way, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Arlo O'Keeffe](mailto:digiput@k5d.de) +Patrick Way, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Arlo O'Keeffe](mailto:digiput@k5d.de) diff --git a/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md b/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md index f50a7ea8f0..4ae1e03f44 100644 --- a/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md +++ b/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md b/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md index 7d5d78f437..2f0a98b353 100644 --- a/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md +++ b/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/testing/easymock/easymocktomockito.md b/docs/recipes/java/testing/easymock/easymocktomockito.md index d618f502e1..5896291a31 100644 --- a/docs/recipes/java/testing/easymock/easymocktomockito.md +++ b/docs/recipes/java/testing/easymock/easymocktomockito.md @@ -895,4 +895,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sander Knauff](mailto:sanderknauff@hotmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Adam Birem](mailto:adam.birem@praxedo.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sander Knauff](mailto:sanderknauff@hotmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Adam Birem](mailto:adam.birem@praxedo.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md b/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md index fd028fb8be..16081b52be 100644 --- a/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md +++ b/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md @@ -648,156 +648,6 @@ import org.junit.jupiter.api.Test; ##### Example 2 - - - - -###### Before -```java -import org.junit.jupiter.api.Test; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.allOf; -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.hasLength; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1, allOf(equalTo(str2), hasLength(12))); - } -} -``` - -###### After -```java -import org.junit.jupiter.api.Test; - -import static org.assertj.core.api.Assertions.assertThat; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1) - .satisfies( - arg -> assertThat(arg).isEqualTo(str2), - arg -> assertThat(arg).hasSize(12) - ); - } -} -``` - - - - -```diff -@@ -3,4 +3,1 @@ -import org.junit.jupiter.api.Test; - --import static org.hamcrest.MatcherAssert.assertThat; --import static org.hamcrest.Matchers.allOf; --import static org.hamcrest.Matchers.equalTo; --import static org.hamcrest.Matchers.hasLength; -+import static org.assertj.core.api.Assertions.assertThat; - -@@ -13,1 +10,5 @@ - String str1 = "Hello world!"; - String str2 = "Hello world!"; -- assertThat(str1, allOf(equalTo(str2), hasLength(12))); -+ assertThat(str1) -+ .satisfies( -+ arg -> assertThat(arg).isEqualTo(str2), -+ arg -> assertThat(arg).hasSize(12) -+ ); - } -``` - - - ---- - -##### Example 3 - - - - - - -###### Before -```java -import org.junit.jupiter.api.Test; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.anyOf; -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.hasLength; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1, anyOf(equalTo(str2), hasLength(12))); - } -} -``` - -###### After -```java -import org.junit.jupiter.api.Test; - -import static org.assertj.core.api.Assertions.assertThat; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1) - .satisfiesAnyOf( - arg -> assertThat(arg).isEqualTo(str2), - arg -> assertThat(arg).hasSize(12) - ); - } -} -``` - - - - -```diff -@@ -3,4 +3,1 @@ -import org.junit.jupiter.api.Test; - --import static org.hamcrest.MatcherAssert.assertThat; --import static org.hamcrest.Matchers.anyOf; --import static org.hamcrest.Matchers.equalTo; --import static org.hamcrest.Matchers.hasLength; -+import static org.assertj.core.api.Assertions.assertThat; - -@@ -13,1 +10,5 @@ - String str1 = "Hello world!"; - String str2 = "Hello world!"; -- assertThat(str1, anyOf(equalTo(str2), hasLength(12))); -+ assertThat(str1) -+ .satisfiesAnyOf( -+ arg -> assertThat(arg).isEqualTo(str2), -+ arg -> assertThat(arg).hasSize(12) -+ ); - } -``` - - - ---- - -##### Example 4 - - ###### Unchanged ```java class Biscuit { @@ -882,156 +732,6 @@ import org.junit.jupiter.api.Test; ---- - -##### Example 5 - - - - - - -###### Before -```java -import org.junit.jupiter.api.Test; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.allOf; -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.hasLength; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1, allOf(equalTo(str2), hasLength(12))); - } -} -``` - -###### After -```java -import org.junit.jupiter.api.Test; - -import static org.assertj.core.api.Assertions.assertThat; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1) - .satisfies( - arg -> assertThat(arg).isEqualTo(str2), - arg -> assertThat(arg).hasSize(12) - ); - } -} -``` - - - - -```diff -@@ -3,4 +3,1 @@ -import org.junit.jupiter.api.Test; - --import static org.hamcrest.MatcherAssert.assertThat; --import static org.hamcrest.Matchers.allOf; --import static org.hamcrest.Matchers.equalTo; --import static org.hamcrest.Matchers.hasLength; -+import static org.assertj.core.api.Assertions.assertThat; - -@@ -13,1 +10,5 @@ - String str1 = "Hello world!"; - String str2 = "Hello world!"; -- assertThat(str1, allOf(equalTo(str2), hasLength(12))); -+ assertThat(str1) -+ .satisfies( -+ arg -> assertThat(arg).isEqualTo(str2), -+ arg -> assertThat(arg).hasSize(12) -+ ); - } -``` - - - ---- - -##### Example 6 - - - - - - -###### Before -```java -import org.junit.jupiter.api.Test; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.anyOf; -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.hasLength; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1, anyOf(equalTo(str2), hasLength(12))); - } -} -``` - -###### After -```java -import org.junit.jupiter.api.Test; - -import static org.assertj.core.api.Assertions.assertThat; - -class ATest { - @Test - void test() { - String str1 = "Hello world!"; - String str2 = "Hello world!"; - assertThat(str1) - .satisfiesAnyOf( - arg -> assertThat(arg).isEqualTo(str2), - arg -> assertThat(arg).hasSize(12) - ); - } -} -``` - - - - -```diff -@@ -3,4 +3,1 @@ -import org.junit.jupiter.api.Test; - --import static org.hamcrest.MatcherAssert.assertThat; --import static org.hamcrest.Matchers.anyOf; --import static org.hamcrest.Matchers.equalTo; --import static org.hamcrest.Matchers.hasLength; -+import static org.assertj.core.api.Assertions.assertThat; - -@@ -13,1 +10,5 @@ - String str1 = "Hello world!"; - String str2 = "Hello world!"; -- assertThat(str1, anyOf(equalTo(str2), hasLength(12))); -+ assertThat(str1) -+ .satisfiesAnyOf( -+ arg -> assertThat(arg).isEqualTo(str2), -+ arg -> assertThat(arg).hasSize(12) -+ ); - } -``` - - - ## Usage diff --git a/docs/recipes/java/testing/jmockit/jmockittomockito.md b/docs/recipes/java/testing/jmockit/jmockittomockito.md index 89ed720453..34dce205fd 100644 --- a/docs/recipes/java/testing/jmockit/jmockittomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockittomockito.md @@ -308,4 +308,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, [Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Shivani Sharma](mailto:s.happyrose@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sander Knauff](mailto:sanderknauff@hotmail.com), Patrick Way, [tinder-dthomson](mailto:devin.thomson@gotinder.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Adam Birem](mailto:adam.birem@praxedo.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +SiBorea, [Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Shivani Sharma](mailto:s.happyrose@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sander Knauff](mailto:sanderknauff@hotmail.com), Patrick Way, [tinder-dthomson](mailto:devin.thomson@gotinder.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Adam Birem](mailto:adam.birem@praxedo.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/junit5/addmissingnested.md b/docs/recipes/java/testing/junit5/addmissingnested.md index 2323da61d6..08f05c8a84 100644 --- a/docs/recipes/java/testing/junit5/addmissingnested.md +++ b/docs/recipes/java/testing/junit5/addmissingnested.md @@ -267,4 +267,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim.te.beek@jdriven.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), rob-valor, [Michael Keppler](mailto:bananeweizen@gmx.de) +[Tim te Beek](mailto:tim.te.beek@jdriven.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de) diff --git a/docs/recipes/java/testing/junit5/updatetestannotation.md b/docs/recipes/java/testing/junit5/updatetestannotation.md index 714eae65e4..fc93ea1891 100644 --- a/docs/recipes/java/testing/junit5/updatetestannotation.md +++ b/docs/recipes/java/testing/junit5/updatetestannotation.md @@ -281,4 +281,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), Aaron Gershman, [Greg Adams](mailto:greg@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Andrii Rodionov](mailto:andrii@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Scott Jungling](mailto:scott.jungling@gmail.com), [Patrick](mailto:patway99@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Shivani Sharma](mailto:s.happyrose@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Patrick Way +[Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), Aaron Gershman, [Greg Adams](mailto:greg@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Andrii Rodionov](mailto:andrii@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Scott Jungling](mailto:scott.jungling@gmail.com), [Patrick](mailto:patway99@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Shivani Sharma](mailto:s.happyrose@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Patrick Way diff --git a/docs/recipes/java/testing/junit5/usemockitoextension.md b/docs/recipes/java/testing/junit5/usemockitoextension.md index b3485674eb..6bd18307a4 100644 --- a/docs/recipes/java/testing/junit5/usemockitoextension.md +++ b/docs/recipes/java/testing/junit5/usemockitoextension.md @@ -266,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Anshuman Mishra, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Aaron Gershman +[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Anshuman Mishra, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/mockito/README.md b/docs/recipes/java/testing/mockito/README.md index 5b0d5f191a..a7272a9aef 100644 --- a/docs/recipes/java/testing/mockito/README.md +++ b/docs/recipes/java/testing/mockito/README.md @@ -17,9 +17,9 @@ _Recipes that include further recipes, often including the individual recipes be * [Cleanup Mockito imports](./cleanupmockitoimports.md) * [Close unclosed static mocks](./closeunclosedstaticmocks.md) * [JUnit 4 MockitoJUnitRunner.Silent to JUnit Jupiter MockitoExtension with LENIENT settings](./mockitojunitrunnersilenttoextension.md) +* [Remove `@InjectMocks` annotation or initializer](./noinitializationforinjectmock.md) * [Remove `Mockito.times(0)` and `Mockito.times(1)`](./removetimeszeroandone.md) * [Remove `MockitoAnnotations.initMocks(this)` if specified JUnit runners](./removeinitmocksifrunnersspecified.md) -* [Remove initialization when using `@InjectMocks`](./noinitializationforinjectmock.md) * [Replace JUnit 4 MockitoJUnitRunner with junit-jupiter MockitoExtension](./mockitojunitrunnertoextension.md) * [Replace Mockito 1.x `anyString()` with `nullable(String.class)`](./anystringtonullable.md) * [Replace Mockito 1.x `anyString()`/`any()` with `nullable(Class)`](./anytonullable.md) diff --git a/docs/recipes/java/testing/mockito/mockito1to3migration.md b/docs/recipes/java/testing/mockito/mockito1to3migration.md index c72b5186fb..af8574d30e 100644 --- a/docs/recipes/java/testing/mockito/mockito1to3migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to3migration.md @@ -102,7 +102,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change type](../../../java/changetype) * oldFullyQualifiedTypeName: `org.mockito.runners.MockitoJUnitRunner` * newFullyQualifiedTypeName: `org.mockito.junit.MockitoJUnitRunner` -* [Remove initialization when using `@InjectMocks`](../../../java/testing/mockito/noinitializationforinjectmock) +* [Remove `@InjectMocks` annotation or initializer](../../../java/testing/mockito/noinitializationforinjectmock) * [Cleanup Mockito imports](../../../java/testing/mockito/cleanupmockitoimports) * [Use static form of Mockito `MockUtil`](../../../java/testing/mockito/mockutilstostatic) * [JUnit 4 `MockitoJUnit` to JUnit Jupiter `MockitoExtension`](../../../java/testing/junit5/mockitojunittomockitoextension) @@ -609,4 +609,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), Anshuman Mishra, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +[Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, Anshuman Mishra, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/mockito/mockito1to4migration.md b/docs/recipes/java/testing/mockito/mockito1to4migration.md index 427b5ee72f..e6a8a6dd54 100644 --- a/docs/recipes/java/testing/mockito/mockito1to4migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to4migration.md @@ -431,4 +431,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/mockito/mockito1to5migration.md b/docs/recipes/java/testing/mockito/mockito1to5migration.md index 87e863acd0..6cdbfb9985 100644 --- a/docs/recipes/java/testing/mockito/mockito1to5migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to5migration.md @@ -377,4 +377,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/mockito/mockito4to5only.md b/docs/recipes/java/testing/mockito/mockito4to5only.md index 21404668a0..9c90c61963 100644 --- a/docs/recipes/java/testing/mockito/mockito4to5only.md +++ b/docs/recipes/java/testing/mockito/mockito4to5only.md @@ -274,4 +274,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/mockito/mockitobestpractices.md b/docs/recipes/java/testing/mockito/mockitobestpractices.md index ddd4b5a484..607df1005e 100644 --- a/docs/recipes/java/testing/mockito/mockitobestpractices.md +++ b/docs/recipes/java/testing/mockito/mockitobestpractices.md @@ -325,4 +325,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sander Knauff](mailto:sanderknauff@hotmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Adam Birem](mailto:adam.birem@praxedo.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), SiBorea, [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, Aaron Gershman +[Andrii Rodionov](mailto:andrii@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:gadams@gmail.com), [Matthias Klauer](mailto:matthias.klauer@sap.com), Anshuman Mishra, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Sander Knauff](mailto:sanderknauff@hotmail.com), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), John Burns, [Patrick](mailto:patway99@gmail.com), [Adam Birem](mailto:adam.birem@praxedo.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [gideon-sunbit](mailto:gideon.pertzov@sunbit.com), [Sam Snyder](mailto:sam@moderne.io), SiBorea, [Laurens Westerlaken](mailto:laurens.w@live.nl), Josh Soref, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md b/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md index e1e684dd83..3556929f81 100644 --- a/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md +++ b/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md @@ -1,15 +1,15 @@ --- -sidebar_label: "Remove initialization when using @InjectMocks" +sidebar_label: "Remove @InjectMocks annotation or initializer" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Remove initialization when using `@InjectMocks` +# Remove `@InjectMocks` annotation or initializer **org.openrewrite.java.testing.mockito.NoInitializationForInjectMock** -_Removes unnecessary initialization for fields annotated with `@InjectMocks` in Mockito tests. If the field was final, the final modifier is removed._ +_Remove either the `@InjectMocks` annotation from fields, or the initializer, based on the initializer. * In the case of a no-args constructor, remove the initializer and retain the annotation. * In the case of any other initializer, remove the annotation and retain the initializer._ ## Recipe source @@ -22,17 +22,6 @@ This recipe is available under the [Moderne Source Available License](https://do ## Example -###### Unchanged -```java -class MyObject { - private String someField; - - public MyObject(String someField) { - this.someField = someField; - } -} -``` - @@ -49,11 +38,8 @@ class MyTest { ###### After ```java -import org.mockito.InjectMocks; - class MyTest { - @InjectMocks - MyObject myObject; + MyObject myObject = new MyObject("someField"); } ``` @@ -61,12 +47,15 @@ class MyTest { ```diff -@@ -5,1 +5,1 @@ +@@ -1,2 +1,0 @@ +-import org.mockito.InjectMocks; +- class MyTest { - @InjectMocks -- MyObject myObject = new MyObject("someField"); -+ MyObject myObject; -} +@@ -4,1 +2,0 @@ + +class MyTest { +- @InjectMocks + MyObject myObject = new MyObject("someField"); ``` @@ -264,4 +253,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Tim te Beek](mailto:tim@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/jenkins/README.md b/docs/recipes/jenkins/README.md index 7491ad68c4..fdf4c93b83 100644 --- a/docs/recipes/jenkins/README.md +++ b/docs/recipes/jenkins/README.md @@ -11,6 +11,7 @@ _Recipes to perform [Jenkins](https://www.jenkins.io/) plugin hygiene and migrat _Recipes that include further recipes, often including the individual recipes below._ +* [Create Jenkinsfile](./createjenkinsfile.md) * [Migrate `javax.annotations` to SpotBugs annotations](./javaxannotationstospotbugs.md) * [Modernize a Jenkins plugin to the latest recommended versions](./modernizeplugin.md) * [Modernize a Jenkins plugin to the latest versions supported by Java 8](./modernizepluginforjava8.md) @@ -23,6 +24,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Disables local file resolution for parent POM](./disablelocalresolutionforparentpom.md) * [Is the project a Jenkins plugin?](./isjenkinsplugin.md) * [Modernize Jenkinsfile](./modernizejenkinsfile.md) +* [Parse `Jenkinsfile` as Groovy](./jenkinsfileasgroovy.md) * [Upgrade jenkins java version](./upgradejavaversion.md) * [Upgrade property's value to version](./upgradeversionproperty.md) * [Use Jenkins API plugin instead of libraries](./replacelibrarieswithapiplugin.md) diff --git a/docs/recipes/jenkins/createjenkinsfile.md b/docs/recipes/jenkins/createjenkinsfile.md new file mode 100644 index 0000000000..d3cc774d4d --- /dev/null +++ b/docs/recipes/jenkins/createjenkinsfile.md @@ -0,0 +1,334 @@ +--- +sidebar_label: "Create Jenkinsfile" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Create Jenkinsfile + +**org.openrewrite.jenkins.CreateJenkinsfile** + +_Creates a simple base Jenkinsfile in Groovy for a Declarative Pipeline - located in the root of the project._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) + +:::info +This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. +::: + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Definition + + + +* [Create text file](../text/createtextfile) + * fileContents: `pipeline { agent any stages { stage('Build') { steps { echo 'Building..' } } stage('Test') { steps { echo 'Testing..' } } stage('Deploy') { steps { echo 'Deploying....' } } } }` + * relativeFileName: `Jenkinsfile` + * overwriteExisting: `false` +* [Parse `Jenkinsfile` as Groovy](../jenkins/jenkinsfileasgroovy) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.jenkins.CreateJenkinsfile +displayName: Create Jenkinsfile +description: | + Creates a simple base Jenkinsfile in Groovy for a Declarative Pipeline - located in the root of the project. +recipeList: + - org.openrewrite.text.CreateTextFile: + fileContents: pipeline { + agent any + + stages { + stage('Build') { + steps { + echo 'Building..' + } + } + stage('Test') { + steps { + echo 'Testing..' + } + } + stage('Deploy') { + steps { + echo 'Deploying....' + } + } + } +} + relativeFileName: Jenkinsfile + overwriteExisting: false + - org.openrewrite.jenkins.JenkinsfileAsGroovy + +``` + + +## Examples +##### Example 1 + + + +###### New file +```groovy +pipeline { + agent any + + stages { + stage('Build') { + steps { + echo 'Building..' + } + } + stage('Test') { + steps { + echo 'Testing..' + } + } + stage('Deploy') { + steps { + echo 'Deploying....' + } + } + } +} +``` + + +--- + +##### Example 2 + + + +###### New file +```groovy +pipeline { + agent any + + stages { + stage('Build') { + steps { + echo 'Building..' + } + } + stage('Test') { + steps { + echo 'Testing..' + } + } + stage('Deploy') { + steps { + echo 'Deploying....' + } + } + } +} +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.jenkins.CreateJenkinsfile") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}}") + } + rewrite { + activeRecipe("org.openrewrite.jenkins.CreateJenkinsfile") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.jenkins.CreateJenkinsfile + + + + + org.openrewrite.recipe + rewrite-jenkins + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jenkins:RELEASE -Drewrite.activeRecipes=org.openrewrite.jenkins.CreateJenkinsfile -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe CreateJenkinsfile +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +Isabelle diff --git a/docs/recipes/jenkins/disablelocalresolutionforparentpom.md b/docs/recipes/jenkins/disablelocalresolutionforparentpom.md index bebdab2a6a..f624b0ce1c 100644 --- a/docs/recipes/jenkins/disablelocalresolutionforparentpom.md +++ b/docs/recipes/jenkins/disablelocalresolutionforparentpom.md @@ -277,4 +277,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steve Hill](mailto:sghill.dev@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Valentin Delaye +[Steve Hill](mailto:sghill.dev@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Valentin Delaye, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/jenkins/jenkinsfileasgroovy.md b/docs/recipes/jenkins/jenkinsfileasgroovy.md new file mode 100644 index 0000000000..2621d6301d --- /dev/null +++ b/docs/recipes/jenkins/jenkinsfileasgroovy.md @@ -0,0 +1,215 @@ +--- +sidebar_label: "Parse Jenkinsfile as Groovy" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Parse `Jenkinsfile` as Groovy + +**org.openrewrite.jenkins.JenkinsfileAsGroovy** + +_Parse any `Jenkinsfile` as Groovy code._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/JenkinsfileAsGroovy.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.jenkins.JenkinsfileAsGroovy") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}}") + } + rewrite { + activeRecipe("org.openrewrite.jenkins.JenkinsfileAsGroovy") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.jenkins.JenkinsfileAsGroovy + + + + + org.openrewrite.recipe + rewrite-jenkins + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jenkins:RELEASE -Drewrite.activeRecipes=org.openrewrite.jenkins.JenkinsfileAsGroovy -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe JenkinsfileAsGroovy +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +Isabelle diff --git a/docs/recipes/maven/addannotationprocessor.md b/docs/recipes/maven/addannotationprocessor.md index 0541a2d447..ddfb7cd962 100644 --- a/docs/recipes/maven/addannotationprocessor.md +++ b/docs/recipes/maven/addannotationprocessor.md @@ -254,4 +254,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Sam Snyder](mailto:sam@moderne.io) +[Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/micrometer/timertoobservation.md b/docs/recipes/micrometer/timertoobservation.md index 1a6b09e5d7..db94796f96 100644 --- a/docs/recipes/micrometer/timertoobservation.md +++ b/docs/recipes/micrometer/timertoobservation.md @@ -19,8 +19,7 @@ _Convert Micrometer Timer to Observations._ This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). -## Examples -##### Example 1 +## Example @@ -87,79 +86,6 @@ class Test { ---- - -##### Example 2 - - - - - - -###### Before -```java -import io.micrometer.core.instrument.MeterRegistry; -import io.micrometer.core.instrument.Timer; - -import java.util.function.Supplier; - -class Test { - private MeterRegistry registry; - - void test(Supplier arg) { - String result = Timer.builder("my.timer") - .register(registry) - .record(arg); - } -} -``` - -###### After -```java -import io.micrometer.observation.Observation; -import io.micrometer.observation.ObservationRegistry; - -import java.util.function.Supplier; - -class Test { - private ObservationRegistry registry; - - void test(Supplier arg) { - String result = Observation.createNotStarted("my.timer", registry) - .observe(arg); - } -} -``` - - - - -```diff -@@ -1,2 +1,2 @@ --import io.micrometer.core.instrument.MeterRegistry; --import io.micrometer.core.instrument.Timer; -+import io.micrometer.observation.Observation; -+import io.micrometer.observation.ObservationRegistry; - -@@ -7,1 +7,1 @@ - -class Test { -- private MeterRegistry registry; -+ private ObservationRegistry registry; - -@@ -10,3 +10,2 @@ - - void test(Supplier arg) { -- String result = Timer.builder("my.timer") -- .register(registry) -- .record(arg); -+ String result = Observation.createNotStarted("my.timer", registry) -+ .observe(arg); - } -``` - - - ## Usage diff --git a/docs/recipes/openapi/swagger/README.md b/docs/recipes/openapi/swagger/README.md index fb6c04f604..5037852538 100644 --- a/docs/recipes/openapi/swagger/README.md +++ b/docs/recipes/openapi/swagger/README.md @@ -7,7 +7,6 @@ _Recipes to perform [Swagger](https://swagger.io/) migration tasks._ _Recipes that include further recipes, often including the individual recipes below._ * [Migrate from `@ApiImplicitParams` to `@Parameters`](./migrateapiimplicitparamstoparameters.md) -* [Migrate from `@ApiModel` to `@Schema`](./migrateapimodeltoschema.md) * [Migrate from `@ApiModelProperty` to `@Schema`](./migrateapimodelpropertytoschema.md) * [Migrate from `@ApiOperation` to `@Operation`](./migrateapioperationtooperation.md) * [Migrate from `@ApiParam` to `@Parameter`](./migrateapiparamtoparameter.md) @@ -22,6 +21,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate `@ApiImplicitParam` to `@Parameter`](./migrateapiimplicitparam.md) * [Migrate `@ApiParam(defaultValue)` to `@Parameter(schema)`](./migrateapiparamdefaultvalue.md) * [Migrate from `@Api` to `@Tag`](./migrateapitotag.md) +* [Migrate from `@ApiModel` to `@Schema`](./migrateapimodeltoschema.md) * [Migrate from `@SwaggerDefinition` to `@OpenAPIDefinition`](./migrateswaggerdefinitiontoopenapidefinition.md) diff --git a/docs/recipes/openapi/swagger/convertapiresponsetocontent.md b/docs/recipes/openapi/swagger/convertapiresponsetocontent.md index 4f23ba0bd1..a745977a29 100644 --- a/docs/recipes/openapi/swagger/convertapiresponsetocontent.md +++ b/docs/recipes/openapi/swagger/convertapiresponsetocontent.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) +[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [adammak](mailto:maka9@mcmaster.ca), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/migrateapiimplicitparam.md b/docs/recipes/openapi/swagger/migrateapiimplicitparam.md index 695f55956b..91226fd8a3 100644 --- a/docs/recipes/openapi/swagger/migrateapiimplicitparam.md +++ b/docs/recipes/openapi/swagger/migrateapiimplicitparam.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea +SiBorea, [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md b/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md index cdcf4ad66c..d1659c24d5 100644 --- a/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md +++ b/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md @@ -286,4 +286,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea +SiBorea, [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md b/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md index bcc32f4ab1..88613c990e 100644 --- a/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md +++ b/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md @@ -52,8 +52,8 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * newAttributeName: `type` * [Change annotation attribute name](../../java/changeannotationattributename) * annotationType: `io.swagger.v3.oas.annotations.media.Schema` - * oldAttributeName: `nullable` - * newAttributeName: `allowEmptyValue` + * oldAttributeName: `allowEmptyValue` + * newAttributeName: `nullable` @@ -89,8 +89,8 @@ recipeList: newAttributeName: type - org.openrewrite.java.ChangeAnnotationAttributeName: annotationType: io.swagger.v3.oas.annotations.media.Schema - oldAttributeName: nullable - newAttributeName: allowEmptyValue + oldAttributeName: allowEmptyValue + newAttributeName: nullable ``` diff --git a/docs/recipes/openapi/swagger/migrateapimodeltoschema.md b/docs/recipes/openapi/swagger/migrateapimodeltoschema.md index ebb5db961a..72de2ed0dc 100644 --- a/docs/recipes/openapi/swagger/migrateapimodeltoschema.md +++ b/docs/recipes/openapi/swagger/migrateapimodeltoschema.md @@ -11,63 +11,68 @@ import TabItem from '@theme/TabItem'; _Converts the `@ApiModel` annotation to `@Schema` and converts the "value" attribute to "name"._ -### Tags - -* openapi -* swagger - ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/MigrateApiModelToSchema.java), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: - This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). +## Example -## Definition - - -* [Change type](../../java/changetype) - * oldFullyQualifiedTypeName: `io.swagger.annotations.ApiModel` - * newFullyQualifiedTypeName: `io.swagger.v3.oas.annotations.media.Schema` -* [Change annotation attribute name](../../java/changeannotationattributename) - * annotationType: `io.swagger.v3.oas.annotations.media.Schema` - * oldAttributeName: `value` - * newAttributeName: `name` + + - - +###### Before +```java +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; -```yaml ---- -type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.openapi.swagger.MigrateApiModelToSchema -displayName: Migrate from `@ApiModel` to `@Schema` -description: | - Converts the `@ApiModel` annotation to `@Schema` and converts the "value" attribute to "name". -tags: - - openapi - - swagger -recipeList: - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: io.swagger.annotations.ApiModel - newFullyQualifiedTypeName: io.swagger.v3.oas.annotations.media.Schema - - org.openrewrite.java.ChangeAnnotationAttributeName: - annotationType: io.swagger.v3.oas.annotations.media.Schema - oldAttributeName: value - newAttributeName: name +@ApiModel(value="ApiModelExampleValue", description="ApiModelExampleDescription") +class Example { + @ApiModelProperty(value = "ApiModelPropertyExampleValue", position = 1) + private String example; +} +``` +###### After +```java +import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; + +@Schema(name="ApiModelExampleValue", description="ApiModelExampleDescription") +class Example { + @ApiModelProperty(value = "ApiModelPropertyExampleValue", position = 1) + private String example; +} +``` + + + + +```diff +@@ -1,1 +1,0 @@ +-import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +@@ -3,0 +2,1 @@ +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; ++import io.swagger.v3.oas.annotations.media.Schema; + +@@ -4,1 +4,1 @@ +import io.swagger.annotations.ApiModelProperty; + +-@ApiModel(value="ApiModelExampleValue", description="ApiModelExampleDescription") ++@Schema(name="ApiModelExampleValue", description="ApiModelExampleDescription") +class Example { ``` + ## Usage This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): @@ -258,3 +263,6 @@ _Statistics used in analyzing the performance of recipes._ + +## Contributors +[Jente Sondervorst](mailto:jentesondervorst@gmail.com) diff --git a/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md b/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md index d006b63068..99c073cb20 100644 --- a/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md +++ b/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea +SiBorea, [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md b/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md index 2f2aecf233..6c938f7fff 100644 --- a/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md +++ b/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md @@ -268,4 +268,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea +SiBorea, [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md b/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md index 204edfc87b..6d9bb77dbc 100644 --- a/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md +++ b/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md @@ -386,4 +386,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) +[Tim te Beek](mailto:tim@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [adammak](mailto:maka9@mcmaster.ca) diff --git a/docs/recipes/openapi/swagger/migrateapitotag.md b/docs/recipes/openapi/swagger/migrateapitotag.md index 9eb3c0a861..a805c20766 100644 --- a/docs/recipes/openapi/swagger/migrateapitotag.md +++ b/docs/recipes/openapi/swagger/migrateapitotag.md @@ -19,8 +19,7 @@ _Converts `@Api` to `@Tag` annotation and converts the directly mappable attribu This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). -## Examples -##### Example 1 +## Example @@ -61,53 +60,6 @@ class Example {} ---- - -##### Example 2 - - - - - - -###### Before -```java -import io.swagger.annotations.Api; - -@Api(value = "Bar", hidden = true) -class Example {} -``` - -###### After -```java -import io.swagger.v3.oas.annotations.Hidden; -import io.swagger.v3.oas.annotations.tags.Tag; - -@Tag(name = "Bar") -@Hidden -class Example {} -``` - - - - -```diff -@@ -1,1 +1,2 @@ --import io.swagger.annotations.Api; -+import io.swagger.v3.oas.annotations.Hidden; -+import io.swagger.v3.oas.annotations.tags.Tag; - -@@ -3,1 +4,2 @@ -import io.swagger.annotations.Api; - --@Api(value = "Bar", hidden = true) -+@Tag(name = "Bar") -+@Hidden -class Example {} -``` - - - ## Usage @@ -301,4 +253,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, [Tim te Beek](mailto:tim@moderne.io) +SiBorea, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md b/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md index c12ba108a1..3d22db4f9c 100644 --- a/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md +++ b/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea +SiBorea, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/openapi/swagger/swaggertoopenapi.md b/docs/recipes/openapi/swagger/swaggertoopenapi.md index b7b9645155..f8e2a6c38d 100644 --- a/docs/recipes/openapi/swagger/swaggertoopenapi.md +++ b/docs/recipes/openapi/swagger/swaggertoopenapi.md @@ -471,4 +471,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, [Tim te Beek](mailto:tim@moderne.io), [adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) +SiBorea, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [adammak](mailto:maka9@mcmaster.ca) diff --git a/docs/recipes/org/apache/camel/upgrade/README.md b/docs/recipes/org/apache/camel/upgrade/README.md index d8592fa13f..461c3339e7 100644 --- a/docs/recipes/org/apache/camel/upgrade/README.md +++ b/docs/recipes/org/apache/camel/upgrade/README.md @@ -21,7 +21,7 @@ _Recipes that include further recipes, often including the individual recipes below._ * [Change Maven Java version property values to 17](./javaversion17.md) -* [Migrate to 4.12.0](./camelmigrationrecipe.md) +* [Migrate to 4.12.1](./camelmigrationrecipe.md) * [Migrate to Java 17](./upgradetojava17.md) * [Update properties and yaml configurations file](./updatepropertiesandyamlkeys.md) * [Upgrade Java version](./upgradejavaversion.md) diff --git a/docs/recipes/org/apache/camel/upgrade/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camelmigrationrecipe.md index 5e685aeb41..c33ef2ac48 100644 --- a/docs/recipes/org/apache/camel/upgrade/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camelmigrationrecipe.md @@ -1,15 +1,15 @@ --- -sidebar_label: "Migrate to 4.12.0" +sidebar_label: "Migrate to 4.12.1" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Migrate to 4.12.0 +# Migrate to 4.12.1 **org.apache.camel.upgrade.CamelMigrationRecipe** -_Migrates Apache Camel application to 4.12.0_ +_Migrates Apache Camel application to 4.12.1_ ## Recipe source @@ -42,15 +42,15 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [Upgrade Maven dependency version](../../../../maven/upgradedependencyversion) * groupId: `org.apache.camel` * artifactId: `*` - * newVersion: `4.12.0` + * newVersion: `4.12.1` * [Upgrade Maven plugin version](../../../../maven/upgradepluginversion) * groupId: `org.apache.camel` * artifactId: `*` - * newVersion: `4.12.0` + * newVersion: `4.12.1` * [Upgrade Maven parent project version](../../../../maven/upgradeparentversion) * groupId: `org.apache.camel` * artifactId: `*` - * newVersion: `4.12.0` + * newVersion: `4.12.1` @@ -60,9 +60,9 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac --- type: specs.openrewrite.org/v1beta/recipe name: org.apache.camel.upgrade.CamelMigrationRecipe -displayName: Migrate to 4.12.0 +displayName: Migrate to 4.12.1 description: | - Migrates Apache Camel application to 4.12.0 + Migrates Apache Camel application to 4.12.1 recipeList: - org.apache.camel.upgrade.camel411.CamelMigrationRecipe - org.apache.camel.upgrade.camel410.CamelMigrationRecipe @@ -78,15 +78,15 @@ recipeList: - org.openrewrite.maven.UpgradeDependencyVersion: groupId: org.apache.camel artifactId: "*" - newVersion: 4.12.0 + newVersion: 4.12.1 - org.openrewrite.maven.UpgradePluginVersion: groupId: org.apache.camel artifactId: "*" - newVersion: 4.12.0 + newVersion: 4.12.1 - org.openrewrite.maven.UpgradeParentVersion: groupId: org.apache.camel artifactId: "*" - newVersion: 4.12.0 + newVersion: 4.12.1 ``` diff --git a/docs/recipes/org/apache/wicket/bestpractices.md b/docs/recipes/org/apache/wicket/bestpractices.md index 3f1447a6d7..b374e7e7dd 100644 --- a/docs/recipes/org/apache/wicket/bestpractices.md +++ b/docs/recipes/org/apache/wicket/bestpractices.md @@ -255,4 +255,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, eocantu, [Shannon Pamperl](mailto:shanman190@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref +Chuka Obinabo, Anu Ramamoorthy, [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, Evie Lau, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Aakarshit Uppal, BramliAK, eocantu, [Shannon Pamperl](mailto:shanman190@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref diff --git a/docs/recipes/org/apache/wicket/migratetowicket10.md b/docs/recipes/org/apache/wicket/migratetowicket10.md index 90f10634c9..2d8bcfe7a0 100644 --- a/docs/recipes/org/apache/wicket/migratetowicket10.md +++ b/docs/recipes/org/apache/wicket/migratetowicket10.md @@ -317,4 +317,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Chuka Obinabo, Anu Ramamoorthy, [Sam Snyder](mailto:sam@moderne.io), BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), Aakarshit Uppal, BramliAK, eocantu, [Shannon Pamperl](mailto:shanman190@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref +Chuka Obinabo, Anu Ramamoorthy, [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), BhavanaPidapa, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), Tyler Van Gorder, Evie Lau, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, Adam Slaski, [Tim te Beek](mailto:timtebeek@gmail.com), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Kun Li](mailto:kun@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Aakarshit Uppal, BramliAK, eocantu, [Shannon Pamperl](mailto:shanman190@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref diff --git a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md index 613d032af1..bf91f3f876 100644 --- a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md +++ b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md @@ -397,4 +397,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Chuka Obinabo, Evie Lau, ranuradh, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) +Chuka Obinabo, Evie Lau, ranuradh, Anu Ramamoorthy, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/quarkus/README.md b/docs/recipes/quarkus/README.md index 87e4e6d6f4..77dcac3476 100644 --- a/docs/recipes/quarkus/README.md +++ b/docs/recipes/quarkus/README.md @@ -21,6 +21,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Change Quarkus configuration property value](./changequarkuspropertyvalue.md) * [Configure `quarkus-maven-plugin` with reasonable defaults](./configurequarkusmavenpluginwithreasonabledefaults.md) * [Delete Quarkus configuration property](./deletequarkusproperty.md) +* [Migrate SLF4J Logger injection and usage to Quarkus static `Log`](./slf4jtoquarkuslogger.md) * [Use `@ConfigMapping`](./configpropertiestoconfigmapping.md) * [Use Mutiny `multi.toHotStream()`](./multitransformhotstreamtomultihotstream.md) * [Use `native` profile in `quarkus-maven-plugin`](./migratequarkusmavenpluginnativeimagegoal.md) diff --git a/docs/recipes/quarkus/quarkus1to1_13migration.md b/docs/recipes/quarkus/quarkus1to1_13migration.md index 378c09579d..d2fcddc0bc 100644 --- a/docs/recipes/quarkus/quarkus1to1_13migration.md +++ b/docs/recipes/quarkus/quarkus1to1_13migration.md @@ -561,4 +561,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com), Kun Li, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/quarkus/slf4jtoquarkuslogger.md b/docs/recipes/quarkus/slf4jtoquarkuslogger.md new file mode 100644 index 0000000000..c10d819803 --- /dev/null +++ b/docs/recipes/quarkus/slf4jtoquarkuslogger.md @@ -0,0 +1,295 @@ +--- +sidebar_label: "Migrate SLF4J Logger injection and usage to Quarkus static Log" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate SLF4J Logger injection and usage to Quarkus static `Log` + +**org.openrewrite.quarkus.Slf4jToQuarkusLogger** + +_Removes usage of SLF4J Logger fields, adjusts imports, and replaces logger method calls with static Quarkus Log calls, including message formatting and method renaming for parameterized logging._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/Slf4jToQuarkusLogger.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + +## Example + + + + + + +###### Before +```java +import jakarta.enterprise.event.Observes; +import jakarta.inject.Inject; +import org.slf4j.Logger; + +class AppInitializer { + + @Inject + Logger logger; + + public void startService(@Observes Object ev) { + logger.info("My Quarkus App - Starting"); + } + + public void stopService(@Observes Object ev) { + logger.info("My Quarkus App - Stopping"); + } +} +``` + +###### After +```java +import io.quarkus.logging.Log; +import jakarta.enterprise.event.Observes; + +class AppInitializer { + + public void startService(@Observes Object ev) { + Log.info("My Quarkus App - Starting"); + } + + public void stopService(@Observes Object ev) { + Log.info("My Quarkus App - Stopping"); + } +} +``` + + + + +```diff +@@ -1,0 +1,1 @@ ++import io.quarkus.logging.Log; +import jakarta.enterprise.event.Observes; +@@ -2,2 +3,0 @@ +import jakarta.enterprise.event.Observes; +-import jakarta.inject.Inject; +-import org.slf4j.Logger; + +@@ -7,3 +6,0 @@ +class AppInitializer { + +- @Inject +- Logger logger; +- + public void startService(@Observes Object ev) { +@@ -11,1 +7,1 @@ + + public void startService(@Observes Object ev) { +- logger.info("My Quarkus App - Starting"); ++ Log.info("My Quarkus App - Starting"); + } +@@ -15,1 +11,1 @@ + + public void stopService(@Observes Object ev) { +- logger.info("My Quarkus App - Stopping"); ++ Log.info("My Quarkus App - Stopping"); + } +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.quarkus.Slf4jToQuarkusLogger") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-quarkus:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_QUARKUS}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-quarkus:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_QUARKUS}}") + } + rewrite { + activeRecipe("org.openrewrite.quarkus.Slf4jToQuarkusLogger") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.quarkus.Slf4jToQuarkusLogger + + + + + org.openrewrite.recipe + rewrite-quarkus + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_QUARKUS}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-quarkus:RELEASE -Drewrite.activeRecipes=org.openrewrite.quarkus.Slf4jToQuarkusLogger -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe Slf4jToQuarkusLogger +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-quarkus:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_QUARKUS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Frédéric MENCIER](mailto:fmencier@yahoo.fr) diff --git a/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md b/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md index 407e20c5b8..de9b76a8fe 100644 --- a/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md +++ b/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md @@ -42,11 +42,11 @@ This recipe is available under the [Moderne Source Available License](https://do * [Add missing `@Override` to overriding and implementing methods](../../staticanalysis/missingoverrideannotation) * [Operator wrapping](../../staticanalysis/operatorwrap) * wrapOption: `EOL` +* [Remove redundant null checks before instanceof](../../staticanalysis/removeredundantnullcheckbeforeinstanceof) * [Remove unused local variables](../../staticanalysis/removeunusedlocalvariables) * [Remove unused private fields](../../staticanalysis/removeunusedprivatefields) * [Remove unused private methods](../../staticanalysis/removeunusedprivatemethods) * [Use the diamond operator](../../staticanalysis/usediamondoperator) -* [Replace static `Traits` methods with constructor calls](../../java/recipes/migrate/removetraitsusagerecipes) @@ -74,11 +74,11 @@ recipeList: - org.openrewrite.staticanalysis.MissingOverrideAnnotation - org.openrewrite.staticanalysis.OperatorWrap: wrapOption: EOL + - org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof - org.openrewrite.staticanalysis.RemoveUnusedLocalVariables - org.openrewrite.staticanalysis.RemoveUnusedPrivateFields - org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods - org.openrewrite.staticanalysis.UseDiamondOperator - - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes ``` diff --git a/docs/recipes/software/amazon/awssdk/v2migration/adds3eventnotificationdependency.md b/docs/recipes/software/amazon/awssdk/v2migration/adds3eventnotificationdependency.md index 114fc99d69..d34ee3520e 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/adds3eventnotificationdependency.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/adds3eventnotificationdependency.md @@ -32,7 +32,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [Add Gradle or Maven dependency](../../../../java/dependencies/adddependency) * groupId: `software.amazon.awssdk` * artifactId: `s3-event-notifications` - * version: `2.31.68` + * version: `2.31.75` * onlyIfUsing: `com.amazonaws.services.s3.event.S3EventNotification` @@ -53,7 +53,7 @@ recipeList: - org.openrewrite.java.dependencies.AddDependency: groupId: software.amazon.awssdk artifactId: s3-event-notifications - version: 2.31.68 + version: 2.31.75 onlyIfUsing: com.amazonaws.services.s3.event.S3EventNotification ``` diff --git a/docs/recipes/software/amazon/awssdk/v2migration/addtransfermanagerdependency.md b/docs/recipes/software/amazon/awssdk/v2migration/addtransfermanagerdependency.md index 9192ec2183..ebe3dbb5ee 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/addtransfermanagerdependency.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/addtransfermanagerdependency.md @@ -32,7 +32,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [Add Gradle or Maven dependency](../../../../java/dependencies/adddependency) * groupId: `software.amazon.awssdk` * artifactId: `s3-transfer-manager` - * version: `2.31.68` + * version: `2.31.75` * onlyIfUsing: `com.amazonaws.services.s3.transfer.TransferManager` @@ -53,7 +53,7 @@ recipeList: - org.openrewrite.java.dependencies.AddDependency: groupId: software.amazon.awssdk artifactId: s3-transfer-manager - version: 2.31.68 + version: 2.31.75 onlyIfUsing: com.amazonaws.services.s3.transfer.TransferManager ``` diff --git a/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md b/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md index 77cc1d9932..ecbc45627f 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md @@ -31,2287 +31,2287 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [Add Gradle or Maven dependency](../../../../java/dependencies/adddependency) * groupId: `software.amazon.awssdk` * artifactId: `apache-client` - * version: `2.31.68` + * version: `2.31.75` * onlyIfUsing: `com.amazonaws.ClientConfiguration` * [Add Gradle or Maven dependency](../../../../java/dependencies/adddependency) * groupId: `software.amazon.awssdk` * artifactId: `netty-nio-client` - * version: `2.31.68` + * version: `2.31.75` * onlyIfUsing: `com.amazonaws.ClientConfiguration` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-core` * newGroupId: `software.amazon.awssdk` * newArtifactId: `aws-core` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-bom` * newGroupId: `software.amazon.awssdk` * newArtifactId: `bom` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iot` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotdataplane` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-oam` * newGroupId: `software.amazon.awssdk` * newArtifactId: `oam` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotwireless` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotwireless` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-forecast` * newGroupId: `software.amazon.awssdk` * newArtifactId: `forecast` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-licensemanagerlinuxsubscriptions` * newGroupId: `software.amazon.awssdk` * newArtifactId: `licensemanagerlinuxsubscriptions` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-docdbelastic` * newGroupId: `software.amazon.awssdk` * newArtifactId: `docdbelastic` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-emrcontainers` * newGroupId: `software.amazon.awssdk` * newArtifactId: `emrcontainers` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-timestreamwrite` * newGroupId: `software.amazon.awssdk` * newArtifactId: `timestreamwrite` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codebuild` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codebuild` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotdeviceadvisor` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotdeviceadvisor` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssmcontacts` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssmcontacts` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pcaconnectorscep` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pcaconnectorscep` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-paymentcryptographydata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `paymentcryptographydata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codeguruprofiler` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codeguruprofiler` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesis` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kinesis` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesisvideo` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kinesisvideo` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pinpoint` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pinpoint` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iottwinmaker` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iottwinmaker` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-organizations` * newGroupId: `software.amazon.awssdk` * newArtifactId: `organizations` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-licensemanager` * newGroupId: `software.amazon.awssdk` * newArtifactId: `licensemanager` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-shield` * newGroupId: `software.amazon.awssdk` * newArtifactId: `shield` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssm` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssm` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediastoredata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediastoredata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sagemakerruntime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemakerruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-signer` * newGroupId: `software.amazon.awssdk` * newArtifactId: `signer` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-servicecatalog` * newGroupId: `software.amazon.awssdk` * newArtifactId: `servicecatalog` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-timestreaminfluxdb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `timestreaminfluxdb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lakeformation` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lakeformation` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pcs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pcs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-licensemanagerusersubscriptions` * newGroupId: `software.amazon.awssdk` * newArtifactId: `licensemanagerusersubscriptions` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-secretsmanager` * newGroupId: `software.amazon.awssdk` * newArtifactId: `secretsmanager` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediaconnect` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediaconnect` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mwaa` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mwaa` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kms` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kms` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-quicksight` * newGroupId: `software.amazon.awssdk` * newArtifactId: `quicksight` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-workmail` * newGroupId: `software.amazon.awssdk` * newArtifactId: `workmail` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-eventbridge` * newGroupId: `software.amazon.awssdk` * newArtifactId: `eventbridge` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sagemakergeospatial` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemakergeospatial` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-frauddetector` * newGroupId: `software.amazon.awssdk` * newArtifactId: `frauddetector` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elastictranscoder` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elastictranscoder` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elasticinference` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elasticinference` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lookoutequipment` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lookoutequipment` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pcaconnectorad` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pcaconnectorad` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pinpointsmsvoice` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pinpointsmsvoice` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-securitylake` * newGroupId: `software.amazon.awssdk` * newArtifactId: `securitylake` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudwatch` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudwatch` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudwatchmetrics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudwatch` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-glue` * newGroupId: `software.amazon.awssdk` * newArtifactId: `glue` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-costoptimizationhub` * newGroupId: `software.amazon.awssdk` * newArtifactId: `costoptimizationhub` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-servicequotas` * newGroupId: `software.amazon.awssdk` * newArtifactId: `servicequotas` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-s3` * newGroupId: `software.amazon.awssdk` * newArtifactId: `s3` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appintegrations` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appintegrations` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sesv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sesv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-arczonalshift` * newGroupId: `software.amazon.awssdk` * newArtifactId: `arczonalshift` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-emr` * newGroupId: `software.amazon.awssdk` * newArtifactId: `emr` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-controltower` * newGroupId: `software.amazon.awssdk` * newArtifactId: `controltower` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotfleethub` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotfleethub` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-personalize` * newGroupId: `software.amazon.awssdk` * newArtifactId: `personalize` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-outposts` * newGroupId: `software.amazon.awssdk` * newArtifactId: `outposts` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-workdocs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `workdocs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-networkmanager` * newGroupId: `software.amazon.awssdk` * newArtifactId: `networkmanager` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-omics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `omics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediapackage` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediapackage` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-medialive` * newGroupId: `software.amazon.awssdk` * newArtifactId: `medialive` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediaconvert` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediaconvert` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-marketplaceagreement` * newGroupId: `software.amazon.awssdk` * newArtifactId: `marketplaceagreement` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cognitosync` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cognitosync` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sns` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sns` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-datasync` * newGroupId: `software.amazon.awssdk` * newArtifactId: `datasync` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sagemakeredgemanager` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemakeredge` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-greengrassv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `greengrassv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pinpointemail` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pinpointemail` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cleanroomsml` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cleanroomsml` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-augmentedairuntime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemakera2iruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-neptunedata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `neptunedata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-b2bi` * newGroupId: `software.amazon.awssdk` * newArtifactId: `b2bi` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotanalytics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotanalytics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-inspector2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `inspector2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-groundstation` * newGroupId: `software.amazon.awssdk` * newArtifactId: `groundstation` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-fis` * newGroupId: `software.amazon.awssdk` * newArtifactId: `fis` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-proton` * newGroupId: `software.amazon.awssdk` * newArtifactId: `proton` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-voiceid` * newGroupId: `software.amazon.awssdk` * newArtifactId: `voiceid` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudhsm` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudhsm` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ecrpublic` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ecrpublic` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-servermigration` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sms` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudtraildata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudtraildata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cognitoidentity` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cognitoidentity` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-config` * newGroupId: `software.amazon.awssdk` * newArtifactId: `config` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-osis` * newGroupId: `software.amazon.awssdk` * newArtifactId: `osis` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-private5g` * newGroupId: `software.amazon.awssdk` * newArtifactId: `privatenetworks` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-memorydb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `memorydb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-inspector` * newGroupId: `software.amazon.awssdk` * newArtifactId: `inspector` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-translate` * newGroupId: `software.amazon.awssdk` * newArtifactId: `translate` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mailmanager` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mailmanager` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-paymentcryptography` * newGroupId: `software.amazon.awssdk` * newArtifactId: `paymentcryptography` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chatbot` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chatbot` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-fms` * newGroupId: `software.amazon.awssdk` * newArtifactId: `fms` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssmincidents` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssmincidents` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-vpclattice` * newGroupId: `software.amazon.awssdk` * newArtifactId: `vpclattice` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-s3control` * newGroupId: `software.amazon.awssdk` * newArtifactId: `s3control` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-qapps` * newGroupId: `software.amazon.awssdk` * newArtifactId: `qapps` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-rdsdata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `rdsdata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesisanalyticsv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kinesisanalyticsv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-qbusiness` * newGroupId: `software.amazon.awssdk` * newArtifactId: `qbusiness` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-marketplacecommerceanalytics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `marketplacecommerceanalytics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-synthetics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `synthetics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-apptest` * newGroupId: `software.amazon.awssdk` * newArtifactId: `apptest` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-costexplorer` * newGroupId: `software.amazon.awssdk` * newArtifactId: `costexplorer` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotsecuretunneling` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotsecuretunneling` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudfront` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudfront` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-location` * newGroupId: `software.amazon.awssdk` * newArtifactId: `location` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-wafv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `wafv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-opensearch` * newGroupId: `software.amazon.awssdk` * newArtifactId: `opensearch` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ec2instanceconnect` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ec2instanceconnect` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotthingsgraph` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotthingsgraph` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-repostspace` * newGroupId: `software.amazon.awssdk` * newArtifactId: `repostspace` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53recoveryreadiness` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53recoveryreadiness` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-health` * newGroupId: `software.amazon.awssdk` * newArtifactId: `health` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-workmailmessageflow` * newGroupId: `software.amazon.awssdk` * newArtifactId: `workmailmessageflow` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-comprehendmedical` * newGroupId: `software.amazon.awssdk` * newArtifactId: `comprehendmedical` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotfleetwise` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotfleetwise` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53profiles` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53profiles` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-bcmdataexports` * newGroupId: `software.amazon.awssdk` * newArtifactId: `bcmdataexports` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-accessanalyzer` * newGroupId: `software.amazon.awssdk` * newArtifactId: `accessanalyzer` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-glacier` * newGroupId: `software.amazon.awssdk` * newArtifactId: `glacier` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lightsail` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lightsail` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudwatchrum` * newGroupId: `software.amazon.awssdk` * newArtifactId: `rum` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-inspectorscan` * newGroupId: `software.amazon.awssdk` * newArtifactId: `inspectorscan` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-imagebuilder` * newGroupId: `software.amazon.awssdk` * newArtifactId: `imagebuilder` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sagemakermetrics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemakermetrics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-bedrockagent` * newGroupId: `software.amazon.awssdk` * newArtifactId: `bedrockagent` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-migrationhub` * newGroupId: `software.amazon.awssdk` * newArtifactId: `migrationhub` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-simspaceweaver` * newGroupId: `software.amazon.awssdk` * newArtifactId: `simspaceweaver` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elasticbeanstalk` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elasticbeanstalk` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-freetier` * newGroupId: `software.amazon.awssdk` * newArtifactId: `freetier` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudsearch` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudsearchdomain` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-neptune` * newGroupId: `software.amazon.awssdk` * newArtifactId: `neptune` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-supportapp` * newGroupId: `software.amazon.awssdk` * newArtifactId: `supportapp` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-transfer` * newGroupId: `software.amazon.awssdk` * newArtifactId: `transfer` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-deadline` * newGroupId: `software.amazon.awssdk` * newArtifactId: `deadline` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-braket` * newGroupId: `software.amazon.awssdk` * newArtifactId: `braket` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-verifiedpermissions` * newGroupId: `software.amazon.awssdk` * newArtifactId: `verifiedpermissions` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-scheduler` * newGroupId: `software.amazon.awssdk` * newArtifactId: `scheduler` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-marketplacedeployment` * newGroupId: `software.amazon.awssdk` * newArtifactId: `marketplacedeployment` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-resourcegroups` * newGroupId: `software.amazon.awssdk` * newArtifactId: `resourcegroups` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-qldb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `qldb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-dms` * newGroupId: `software.amazon.awssdk` * newArtifactId: `databasemigration` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ecr` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ecr` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-dynamodb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `dynamodb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-resiliencehub` * newGroupId: `software.amazon.awssdk` * newArtifactId: `resiliencehub` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-qldbsession` * newGroupId: `software.amazon.awssdk` * newArtifactId: `qldbsession` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53domains` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-macie2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `macie2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chimesdkmeetings` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chimesdkmeetings` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-applicationautoscaling` * newGroupId: `software.amazon.awssdk` * newArtifactId: `applicationautoscaling` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-entityresolution` * newGroupId: `software.amazon.awssdk` * newArtifactId: `entityresolution` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-s3outposts` * newGroupId: `software.amazon.awssdk` * newArtifactId: `s3outposts` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-managedgrafana` * newGroupId: `software.amazon.awssdk` * newArtifactId: `grafana` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-storagegateway` * newGroupId: `software.amazon.awssdk` * newArtifactId: `storagegateway` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-recyclebin` * newGroupId: `software.amazon.awssdk` * newArtifactId: `rbin` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ioteventsdata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ioteventsdata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53recoverycluster` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53recoverycluster` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ecs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ecs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elasticloadbalancing` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elasticloadbalancing` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-connectcontactlens` * newGroupId: `software.amazon.awssdk` * newArtifactId: `connectcontactlens` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chimesdkmediapipelines` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chimesdkmediapipelines` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesisvideosignalingchannels` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kinesisvideosignaling` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-qconnect` * newGroupId: `software.amazon.awssdk` * newArtifactId: `qconnect` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kendraranking` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kendraranking` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudsearch` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudsearch` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-logs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudwatchlogs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appfabric` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appfabric` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lookoutforvision` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lookoutvision` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53resolver` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53resolver` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-workspaces` * newGroupId: `software.amazon.awssdk` * newArtifactId: `workspaces` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-machinelearning` * newGroupId: `software.amazon.awssdk` * newArtifactId: `machinelearning` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-costandusagereport` * newGroupId: `software.amazon.awssdk` * newArtifactId: `costandusagereport` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-taxsettings` * newGroupId: `software.amazon.awssdk` * newArtifactId: `taxsettings` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-fsx` * newGroupId: `software.amazon.awssdk` * newArtifactId: `fsx` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codepipeline` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codepipeline` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elasticloadbalancingv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elasticloadbalancingv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-directory` * newGroupId: `software.amazon.awssdk` * newArtifactId: `directory` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-bedrockruntime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `bedrockruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codestarnotifications` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codestarnotifications` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-schemas` * newGroupId: `software.amazon.awssdk` * newArtifactId: `schemas` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sqs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sqs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appregistry` * newGroupId: `software.amazon.awssdk` * newArtifactId: `servicecatalogappregistry` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appmesh` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appmesh` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-migrationhuborchestrator` * newGroupId: `software.amazon.awssdk` * newArtifactId: `migrationhuborchestrator` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-discovery` * newGroupId: `software.amazon.awssdk` * newArtifactId: `applicationdiscovery` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iot` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iot` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesisvideowebrtcstorage` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kinesisvideowebrtcstorage` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ebs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ebs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-amplify` * newGroupId: `software.amazon.awssdk` * newArtifactId: `amplify` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudcontrolapi` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudcontrol` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-wellarchitected` * newGroupId: `software.amazon.awssdk` * newArtifactId: `wellarchitected` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-marketplaceentitlement` * newGroupId: `software.amazon.awssdk` * newArtifactId: `marketplaceentitlement` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-bedrock` * newGroupId: `software.amazon.awssdk` * newArtifactId: `bedrock` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-redshift` * newGroupId: `software.amazon.awssdk` * newArtifactId: `redshift` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-connectcases` * newGroupId: `software.amazon.awssdk` * newArtifactId: `connectcases` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appflow` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appflow` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-gamelift` * newGroupId: `software.amazon.awssdk` * newArtifactId: `gamelift` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudtrail` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudtrail` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-supplychain` * newGroupId: `software.amazon.awssdk` * newArtifactId: `supplychain` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pipes` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pipes` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudwatchevidently` * newGroupId: `software.amazon.awssdk` * newArtifactId: `evidently` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-amplifyuibuilder` * newGroupId: `software.amazon.awssdk` * newArtifactId: `amplifyuibuilder` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-managedblockchainquery` * newGroupId: `software.amazon.awssdk` * newArtifactId: `managedblockchainquery` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-applicationinsights` * newGroupId: `software.amazon.awssdk` * newArtifactId: `applicationinsights` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chimesdkmessaging` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chimesdkmessaging` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediatailor` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediatailor` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediapackagev2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediapackagev2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-resourceexplorer2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `resourceexplorer2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pi` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pi` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-emrserverless` * newGroupId: `software.amazon.awssdk` * newArtifactId: `emrserverless` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appconfig` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appconfig` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-networkmonitor` * newGroupId: `software.amazon.awssdk` * newArtifactId: `networkmonitor` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sagemakerfeaturestoreruntime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemakerfeaturestoreruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chimesdkidentity` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chimesdkidentity` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-computeoptimizer` * newGroupId: `software.amazon.awssdk` * newArtifactId: `computeoptimizer` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-connectparticipant` * newGroupId: `software.amazon.awssdk` * newArtifactId: `connectparticipant` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mgn` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mgn` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-applicationcostprofiler` * newGroupId: `software.amazon.awssdk` * newArtifactId: `applicationcostprofiler` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-new-service-template` * newGroupId: `software.amazon.awssdk` * newArtifactId: `new-service-template` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-keyspaces` * newGroupId: `software.amazon.awssdk` * newArtifactId: `keyspaces` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iam` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iam` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-networkfirewall` * newGroupId: `software.amazon.awssdk` * newArtifactId: `networkfirewall` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-redshiftdataapi` * newGroupId: `software.amazon.awssdk` * newArtifactId: `redshiftdata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediastore` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediastore` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloud9` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloud9` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-connectwisdom` * newGroupId: `software.amazon.awssdk` * newArtifactId: `wisdom` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sso` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sso` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-auditmanager` * newGroupId: `software.amazon.awssdk` * newArtifactId: `auditmanager` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-snowball` * newGroupId: `software.amazon.awssdk` * newArtifactId: `snowball` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesis` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kinesisanalytics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53recoverycontrolconfig` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53recoverycontrolconfig` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-opsworks` * newGroupId: `software.amazon.awssdk` * newArtifactId: `opsworks` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-identitystore` * newGroupId: `software.amazon.awssdk` * newArtifactId: `identitystore` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-connectcampaign` * newGroupId: `software.amazon.awssdk` * newArtifactId: `connectcampaigns` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-textract` * newGroupId: `software.amazon.awssdk` * newArtifactId: `textract` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-redshiftserverless` * newGroupId: `software.amazon.awssdk` * newArtifactId: `redshiftserverless` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-eks` * newGroupId: `software.amazon.awssdk` * newArtifactId: `eks` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-support` * newGroupId: `software.amazon.awssdk` * newArtifactId: `support` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mechanicalturkrequester` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mturk` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-apigatewayv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `apigatewayv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-devopsguru` * newGroupId: `software.amazon.awssdk` * newArtifactId: `devopsguru` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-prometheus` * newGroupId: `software.amazon.awssdk` * newArtifactId: `amp` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-drs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `drs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-migrationhubconfig` * newGroupId: `software.amazon.awssdk` * newArtifactId: `migrationhubconfig` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kafkaconnect` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kafkaconnect` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kafka` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kafka` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-gluedatabrew` * newGroupId: `software.amazon.awssdk` * newArtifactId: `databrew` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codedeploy` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codedeploy` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudhsmv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudhsmv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-batch` * newGroupId: `software.amazon.awssdk` * newArtifactId: `batch` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-savingsplans` * newGroupId: `software.amazon.awssdk` * newArtifactId: `savingsplans` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-migrationhubstrategyrecommendations` * newGroupId: `software.amazon.awssdk` * newArtifactId: `migrationhubstrategy` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appsync` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appsync` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-backupgateway` * newGroupId: `software.amazon.awssdk` * newArtifactId: `backupgateway` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-dlm` * newGroupId: `software.amazon.awssdk` * newArtifactId: `dlm` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-amplifybackend` * newGroupId: `software.amazon.awssdk` * newArtifactId: `amplifybackend` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-datazoneexternal` * newGroupId: `software.amazon.awssdk` * newArtifactId: `datazone` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-billingconductor` * newGroupId: `software.amazon.awssdk` * newArtifactId: `billingconductor` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-workspacesthinclient` * newGroupId: `software.amazon.awssdk` * newArtifactId: `workspacesthinclient` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssmsap` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssmsap` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-budgets` * newGroupId: `software.amazon.awssdk` * newArtifactId: `budgets` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mainframemodernization` * newGroupId: `software.amazon.awssdk` * newArtifactId: `m2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-finspace` * newGroupId: `software.amazon.awssdk` * newArtifactId: `finspace` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-detective` * newGroupId: `software.amazon.awssdk` * newArtifactId: `detective` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lambda` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lambda` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssooidc` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssooidc` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-panorama` * newGroupId: `software.amazon.awssdk` * newArtifactId: `panorama` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotevents` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotevents` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-managedblockchain` * newGroupId: `software.amazon.awssdk` * newArtifactId: `managedblockchain` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-servicediscovery` * newGroupId: `software.amazon.awssdk` * newArtifactId: `servicediscovery` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-waf` * newGroupId: `software.amazon.awssdk` * newArtifactId: `waf` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ivs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ivs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-directconnect` * newGroupId: `software.amazon.awssdk` * newArtifactId: `directconnect` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mq` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mq` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pinpointsmsvoicev2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pinpointsmsvoicev2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-internetmonitor` * newGroupId: `software.amazon.awssdk` * newArtifactId: `internetmonitor` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-artifact` * newGroupId: `software.amazon.awssdk` * newArtifactId: `artifact` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotsitewise` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotsitewise` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lexmodelsv2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lexmodelsv2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lexruntimev2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lexruntimev2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-serverlessapplicationrepository` * newGroupId: `software.amazon.awssdk` * newArtifactId: `serverlessapplicationrepository` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-eksauth` * newGroupId: `software.amazon.awssdk` * newArtifactId: `eksauth` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-snowdevicemanagement` * newGroupId: `software.amazon.awssdk` * newArtifactId: `snowdevicemanagement` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-clouddirectory` * newGroupId: `software.amazon.awssdk` * newArtifactId: `clouddirectory` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-mediapackagevod` * newGroupId: `software.amazon.awssdk` * newArtifactId: `mediapackagevod` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codestarconnections` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codestarconnections` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codeartifact` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codeartifact` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-guardduty` * newGroupId: `software.amazon.awssdk` * newArtifactId: `guardduty` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-worklink` * newGroupId: `software.amazon.awssdk` * newArtifactId: `worklink` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cleanrooms` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cleanrooms` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-customerprofiles` * newGroupId: `software.amazon.awssdk` * newArtifactId: `customerprofiles` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-trustedadvisor` * newGroupId: `software.amazon.awssdk` * newArtifactId: `trustedadvisor` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-dax` * newGroupId: `software.amazon.awssdk` * newArtifactId: `dax` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-opsworkscm` * newGroupId: `software.amazon.awssdk` * newArtifactId: `opsworkscm` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-docdb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `docdb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-acmpca` * newGroupId: `software.amazon.awssdk` * newArtifactId: `acmpca` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kinesis` * newGroupId: `software.amazon.awssdk` * newArtifactId: `firehose` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ivschat` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ivschat` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-globalaccelerator` * newGroupId: `software.amazon.awssdk` * newArtifactId: `globalaccelerator` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ses` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ses` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codegurureviewer` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codegurureviewer` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lexmodelbuilding` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lexmodelbuilding` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-medicalimaging` * newGroupId: `software.amazon.awssdk` * newArtifactId: `medicalimaging` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-account` * newGroupId: `software.amazon.awssdk` * newArtifactId: `account` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-robomaker` * newGroupId: `software.amazon.awssdk` * newArtifactId: `robomaker` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lex` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lexruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-autoscaling` * newGroupId: `software.amazon.awssdk` * newArtifactId: `autoscaling` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-nimblestudio` * newGroupId: `software.amazon.awssdk` * newArtifactId: `nimble` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iotjobsdataplane` * newGroupId: `software.amazon.awssdk` * newArtifactId: `iotjobsdataplane` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appconfigdata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appconfigdata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-controlcatalog` * newGroupId: `software.amazon.awssdk` * newArtifactId: `controlcatalog` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-greengrass` * newGroupId: `software.amazon.awssdk` * newArtifactId: `greengrass` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-securityhub` * newGroupId: `software.amazon.awssdk` * newArtifactId: `securityhub` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-timestreamquery` * newGroupId: `software.amazon.awssdk` * newArtifactId: `timestreamquery` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-backup` * newGroupId: `software.amazon.awssdk` * newArtifactId: `backup` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-opensearchserverless` * newGroupId: `software.amazon.awssdk` * newArtifactId: `opensearchserverless` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cloudformation` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudformation` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-kendra` * newGroupId: `software.amazon.awssdk` * newArtifactId: `kendra` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-connect` * newGroupId: `software.amazon.awssdk` * newArtifactId: `connect` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elasticache` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elasticache` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-stepfunctions` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sfn` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-cognitoidp` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cognitoidentityprovider` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-chimesdkvoice` * newGroupId: `software.amazon.awssdk` * newArtifactId: `chimesdkvoice` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-workspacesweb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `workspacesweb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-comprehend` * newGroupId: `software.amazon.awssdk` * newArtifactId: `comprehend` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-applicationsignals` * newGroupId: `software.amazon.awssdk` * newArtifactId: `applicationsignals` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-marketplacemeteringservice` * newGroupId: `software.amazon.awssdk` * newArtifactId: `marketplacemetering` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-devicefarm` * newGroupId: `software.amazon.awssdk` * newArtifactId: `devicefarm` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-rekognition` * newGroupId: `software.amazon.awssdk` * newArtifactId: `rekognition` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-appstream` * newGroupId: `software.amazon.awssdk` * newArtifactId: `appstream` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-polly` * newGroupId: `software.amazon.awssdk` * newArtifactId: `polly` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-rds` * newGroupId: `software.amazon.awssdk` * newArtifactId: `rds` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-pricing` * newGroupId: `software.amazon.awssdk` * newArtifactId: `pricing` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-simpleworkflow` * newGroupId: `software.amazon.awssdk` * newArtifactId: `swf` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-events` * newGroupId: `software.amazon.awssdk` * newArtifactId: `cloudwatchevents` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssmquicksetup` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssmquicksetup` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-autoscalingplans` * newGroupId: `software.amazon.awssdk` * newArtifactId: `autoscalingplans` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-datapipeline` * newGroupId: `software.amazon.awssdk` * newArtifactId: `datapipeline` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-transcribe` * newGroupId: `software.amazon.awssdk` * newArtifactId: `transcribe` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ivsrealtime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ivsrealtime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-personalizeruntime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `personalizeruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-elasticsearch` * newGroupId: `software.amazon.awssdk` * newArtifactId: `elasticsearch` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codecommit` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codecommit` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-resourcegroupstaggingapi` * newGroupId: `software.amazon.awssdk` * newArtifactId: `resourcegroupstaggingapi` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-forecastquery` * newGroupId: `software.amazon.awssdk` * newArtifactId: `forecastquery` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-healthlake` * newGroupId: `software.amazon.awssdk` * newArtifactId: `healthlake` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-iamrolesanywhere` * newGroupId: `software.amazon.awssdk` * newArtifactId: `rolesanywhere` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-personalizeevents` * newGroupId: `software.amazon.awssdk` * newArtifactId: `personalizeevents` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-apigatewaymanagementapi` * newGroupId: `software.amazon.awssdk` * newArtifactId: `apigatewaymanagementapi` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-launchwizard` * newGroupId: `software.amazon.awssdk` * newArtifactId: `launchwizard` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-xray` * newGroupId: `software.amazon.awssdk` * newArtifactId: `xray` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ssoadmin` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ssoadmin` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-api-gateway` * newGroupId: `software.amazon.awssdk` * newArtifactId: `apigateway` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-migrationhubrefactorspaces` * newGroupId: `software.amazon.awssdk` * newArtifactId: `migrationhubrefactorspaces` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ram` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ram` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codeconnections` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codeconnections` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-efs` * newGroupId: `software.amazon.awssdk` * newArtifactId: `efs` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-bedrockagentruntime` * newGroupId: `software.amazon.awssdk` * newArtifactId: `bedrockagentruntime` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-dataexchange` * newGroupId: `software.amazon.awssdk` * newArtifactId: `dataexchange` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sts` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sts` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-sagemaker` * newGroupId: `software.amazon.awssdk` * newArtifactId: `sagemaker` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-finspacedata` * newGroupId: `software.amazon.awssdk` * newArtifactId: `finspacedata` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-marketplacecatalog` * newGroupId: `software.amazon.awssdk` * newArtifactId: `marketplacecatalog` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-acm` * newGroupId: `software.amazon.awssdk` * newArtifactId: `acm` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-athena` * newGroupId: `software.amazon.awssdk` * newArtifactId: `athena` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-route53` * newGroupId: `software.amazon.awssdk` * newArtifactId: `route53` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-codegurusecurity` * newGroupId: `software.amazon.awssdk` * newArtifactId: `codegurusecurity` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-tnb` * newGroupId: `software.amazon.awssdk` * newArtifactId: `tnb` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-ec2` * newGroupId: `software.amazon.awssdk` * newArtifactId: `ec2` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-apprunner` * newGroupId: `software.amazon.awssdk` * newArtifactId: `apprunner` - * newVersion: `2.31.68` + * newVersion: `2.31.75` * [Change Gradle or Maven dependency](../../../../java/dependencies/changedependency) * oldGroupId: `com.amazonaws` * oldArtifactId: `aws-java-sdk-lookoutmetrics` * newGroupId: `software.amazon.awssdk` * newArtifactId: `lookoutmetrics` - * newVersion: `2.31.68` + * newVersion: `2.31.75` @@ -2328,2287 +2328,2287 @@ recipeList: - org.openrewrite.java.dependencies.AddDependency: groupId: software.amazon.awssdk artifactId: apache-client - version: 2.31.68 + version: 2.31.75 onlyIfUsing: com.amazonaws.ClientConfiguration - org.openrewrite.java.dependencies.AddDependency: groupId: software.amazon.awssdk artifactId: netty-nio-client - version: 2.31.68 + version: 2.31.75 onlyIfUsing: com.amazonaws.ClientConfiguration - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-core newGroupId: software.amazon.awssdk newArtifactId: aws-core - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bom newGroupId: software.amazon.awssdk newArtifactId: bom - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iot newGroupId: software.amazon.awssdk newArtifactId: iotdataplane - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-oam newGroupId: software.amazon.awssdk newArtifactId: oam - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotwireless newGroupId: software.amazon.awssdk newArtifactId: iotwireless - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-forecast newGroupId: software.amazon.awssdk newArtifactId: forecast - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-licensemanagerlinuxsubscriptions newGroupId: software.amazon.awssdk newArtifactId: licensemanagerlinuxsubscriptions - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-docdbelastic newGroupId: software.amazon.awssdk newArtifactId: docdbelastic - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-emrcontainers newGroupId: software.amazon.awssdk newArtifactId: emrcontainers - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-timestreamwrite newGroupId: software.amazon.awssdk newArtifactId: timestreamwrite - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codebuild newGroupId: software.amazon.awssdk newArtifactId: codebuild - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotdeviceadvisor newGroupId: software.amazon.awssdk newArtifactId: iotdeviceadvisor - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmcontacts newGroupId: software.amazon.awssdk newArtifactId: ssmcontacts - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pcaconnectorscep newGroupId: software.amazon.awssdk newArtifactId: pcaconnectorscep - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-paymentcryptographydata newGroupId: software.amazon.awssdk newArtifactId: paymentcryptographydata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codeguruprofiler newGroupId: software.amazon.awssdk newArtifactId: codeguruprofiler - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesis newGroupId: software.amazon.awssdk newArtifactId: kinesis - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisvideo newGroupId: software.amazon.awssdk newArtifactId: kinesisvideo - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpoint newGroupId: software.amazon.awssdk newArtifactId: pinpoint - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chime newGroupId: software.amazon.awssdk newArtifactId: chime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iottwinmaker newGroupId: software.amazon.awssdk newArtifactId: iottwinmaker - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-organizations newGroupId: software.amazon.awssdk newArtifactId: organizations - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-licensemanager newGroupId: software.amazon.awssdk newArtifactId: licensemanager - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-shield newGroupId: software.amazon.awssdk newArtifactId: shield - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssm newGroupId: software.amazon.awssdk newArtifactId: ssm - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediastoredata newGroupId: software.amazon.awssdk newArtifactId: mediastoredata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakerruntime newGroupId: software.amazon.awssdk newArtifactId: sagemakerruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-signer newGroupId: software.amazon.awssdk newArtifactId: signer - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servicecatalog newGroupId: software.amazon.awssdk newArtifactId: servicecatalog - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-timestreaminfluxdb newGroupId: software.amazon.awssdk newArtifactId: timestreaminfluxdb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lakeformation newGroupId: software.amazon.awssdk newArtifactId: lakeformation - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pcs newGroupId: software.amazon.awssdk newArtifactId: pcs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-licensemanagerusersubscriptions newGroupId: software.amazon.awssdk newArtifactId: licensemanagerusersubscriptions - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-secretsmanager newGroupId: software.amazon.awssdk newArtifactId: secretsmanager - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediaconnect newGroupId: software.amazon.awssdk newArtifactId: mediaconnect - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mwaa newGroupId: software.amazon.awssdk newArtifactId: mwaa - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kms newGroupId: software.amazon.awssdk newArtifactId: kms - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-quicksight newGroupId: software.amazon.awssdk newArtifactId: quicksight - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workmail newGroupId: software.amazon.awssdk newArtifactId: workmail - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-eventbridge newGroupId: software.amazon.awssdk newArtifactId: eventbridge - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakergeospatial newGroupId: software.amazon.awssdk newArtifactId: sagemakergeospatial - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-frauddetector newGroupId: software.amazon.awssdk newArtifactId: frauddetector - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elastictranscoder newGroupId: software.amazon.awssdk newArtifactId: elastictranscoder - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticinference newGroupId: software.amazon.awssdk newArtifactId: elasticinference - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lookoutequipment newGroupId: software.amazon.awssdk newArtifactId: lookoutequipment - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pcaconnectorad newGroupId: software.amazon.awssdk newArtifactId: pcaconnectorad - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpointsmsvoice newGroupId: software.amazon.awssdk newArtifactId: pinpointsmsvoice - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-securitylake newGroupId: software.amazon.awssdk newArtifactId: securitylake - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatch newGroupId: software.amazon.awssdk newArtifactId: cloudwatch - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatchmetrics newGroupId: software.amazon.awssdk newArtifactId: cloudwatch - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-glue newGroupId: software.amazon.awssdk newArtifactId: glue - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-costoptimizationhub newGroupId: software.amazon.awssdk newArtifactId: costoptimizationhub - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servicequotas newGroupId: software.amazon.awssdk newArtifactId: servicequotas - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-s3 newGroupId: software.amazon.awssdk newArtifactId: s3 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appintegrations newGroupId: software.amazon.awssdk newArtifactId: appintegrations - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sesv2 newGroupId: software.amazon.awssdk newArtifactId: sesv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-arczonalshift newGroupId: software.amazon.awssdk newArtifactId: arczonalshift - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-emr newGroupId: software.amazon.awssdk newArtifactId: emr - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-controltower newGroupId: software.amazon.awssdk newArtifactId: controltower - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotfleethub newGroupId: software.amazon.awssdk newArtifactId: iotfleethub - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-personalize newGroupId: software.amazon.awssdk newArtifactId: personalize - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-outposts newGroupId: software.amazon.awssdk newArtifactId: outposts - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workdocs newGroupId: software.amazon.awssdk newArtifactId: workdocs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-networkmanager newGroupId: software.amazon.awssdk newArtifactId: networkmanager - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-omics newGroupId: software.amazon.awssdk newArtifactId: omics - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediapackage newGroupId: software.amazon.awssdk newArtifactId: mediapackage - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-medialive newGroupId: software.amazon.awssdk newArtifactId: medialive - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediaconvert newGroupId: software.amazon.awssdk newArtifactId: mediaconvert - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplaceagreement newGroupId: software.amazon.awssdk newArtifactId: marketplaceagreement - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cognitosync newGroupId: software.amazon.awssdk newArtifactId: cognitosync - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sns newGroupId: software.amazon.awssdk newArtifactId: sns - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-datasync newGroupId: software.amazon.awssdk newArtifactId: datasync - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakeredgemanager newGroupId: software.amazon.awssdk newArtifactId: sagemakeredge - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-greengrassv2 newGroupId: software.amazon.awssdk newArtifactId: greengrassv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpointemail newGroupId: software.amazon.awssdk newArtifactId: pinpointemail - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cleanroomsml newGroupId: software.amazon.awssdk newArtifactId: cleanroomsml - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-augmentedairuntime newGroupId: software.amazon.awssdk newArtifactId: sagemakera2iruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-neptunedata newGroupId: software.amazon.awssdk newArtifactId: neptunedata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-b2bi newGroupId: software.amazon.awssdk newArtifactId: b2bi - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotanalytics newGroupId: software.amazon.awssdk newArtifactId: iotanalytics - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-inspector2 newGroupId: software.amazon.awssdk newArtifactId: inspector2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-groundstation newGroupId: software.amazon.awssdk newArtifactId: groundstation - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-fis newGroupId: software.amazon.awssdk newArtifactId: fis - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-proton newGroupId: software.amazon.awssdk newArtifactId: proton - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-voiceid newGroupId: software.amazon.awssdk newArtifactId: voiceid - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudhsm newGroupId: software.amazon.awssdk newArtifactId: cloudhsm - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ecrpublic newGroupId: software.amazon.awssdk newArtifactId: ecrpublic - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servermigration newGroupId: software.amazon.awssdk newArtifactId: sms - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudtraildata newGroupId: software.amazon.awssdk newArtifactId: cloudtraildata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cognitoidentity newGroupId: software.amazon.awssdk newArtifactId: cognitoidentity - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-config newGroupId: software.amazon.awssdk newArtifactId: config - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-osis newGroupId: software.amazon.awssdk newArtifactId: osis - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-private5g newGroupId: software.amazon.awssdk newArtifactId: privatenetworks - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-memorydb newGroupId: software.amazon.awssdk newArtifactId: memorydb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-inspector newGroupId: software.amazon.awssdk newArtifactId: inspector - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-translate newGroupId: software.amazon.awssdk newArtifactId: translate - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mailmanager newGroupId: software.amazon.awssdk newArtifactId: mailmanager - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-paymentcryptography newGroupId: software.amazon.awssdk newArtifactId: paymentcryptography - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chatbot newGroupId: software.amazon.awssdk newArtifactId: chatbot - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-fms newGroupId: software.amazon.awssdk newArtifactId: fms - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmincidents newGroupId: software.amazon.awssdk newArtifactId: ssmincidents - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-vpclattice newGroupId: software.amazon.awssdk newArtifactId: vpclattice - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-s3control newGroupId: software.amazon.awssdk newArtifactId: s3control - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qapps newGroupId: software.amazon.awssdk newArtifactId: qapps - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-rdsdata newGroupId: software.amazon.awssdk newArtifactId: rdsdata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisanalyticsv2 newGroupId: software.amazon.awssdk newArtifactId: kinesisanalyticsv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qbusiness newGroupId: software.amazon.awssdk newArtifactId: qbusiness - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacecommerceanalytics newGroupId: software.amazon.awssdk newArtifactId: marketplacecommerceanalytics - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-synthetics newGroupId: software.amazon.awssdk newArtifactId: synthetics - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apptest newGroupId: software.amazon.awssdk newArtifactId: apptest - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-costexplorer newGroupId: software.amazon.awssdk newArtifactId: costexplorer - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotsecuretunneling newGroupId: software.amazon.awssdk newArtifactId: iotsecuretunneling - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudfront newGroupId: software.amazon.awssdk newArtifactId: cloudfront - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-location newGroupId: software.amazon.awssdk newArtifactId: location - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-wafv2 newGroupId: software.amazon.awssdk newArtifactId: wafv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opensearch newGroupId: software.amazon.awssdk newArtifactId: opensearch - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ec2instanceconnect newGroupId: software.amazon.awssdk newArtifactId: ec2instanceconnect - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotthingsgraph newGroupId: software.amazon.awssdk newArtifactId: iotthingsgraph - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-repostspace newGroupId: software.amazon.awssdk newArtifactId: repostspace - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53recoveryreadiness newGroupId: software.amazon.awssdk newArtifactId: route53recoveryreadiness - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-health newGroupId: software.amazon.awssdk newArtifactId: health - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workmailmessageflow newGroupId: software.amazon.awssdk newArtifactId: workmailmessageflow - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-comprehendmedical newGroupId: software.amazon.awssdk newArtifactId: comprehendmedical - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotfleetwise newGroupId: software.amazon.awssdk newArtifactId: iotfleetwise - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53profiles newGroupId: software.amazon.awssdk newArtifactId: route53profiles - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bcmdataexports newGroupId: software.amazon.awssdk newArtifactId: bcmdataexports - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-accessanalyzer newGroupId: software.amazon.awssdk newArtifactId: accessanalyzer - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-glacier newGroupId: software.amazon.awssdk newArtifactId: glacier - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lightsail newGroupId: software.amazon.awssdk newArtifactId: lightsail - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatchrum newGroupId: software.amazon.awssdk newArtifactId: rum - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-inspectorscan newGroupId: software.amazon.awssdk newArtifactId: inspectorscan - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-imagebuilder newGroupId: software.amazon.awssdk newArtifactId: imagebuilder - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakermetrics newGroupId: software.amazon.awssdk newArtifactId: sagemakermetrics - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrockagent newGroupId: software.amazon.awssdk newArtifactId: bedrockagent - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhub newGroupId: software.amazon.awssdk newArtifactId: migrationhub - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-simspaceweaver newGroupId: software.amazon.awssdk newArtifactId: simspaceweaver - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticbeanstalk newGroupId: software.amazon.awssdk newArtifactId: elasticbeanstalk - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-freetier newGroupId: software.amazon.awssdk newArtifactId: freetier - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudsearch newGroupId: software.amazon.awssdk newArtifactId: cloudsearchdomain - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-neptune newGroupId: software.amazon.awssdk newArtifactId: neptune - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-supportapp newGroupId: software.amazon.awssdk newArtifactId: supportapp - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-transfer newGroupId: software.amazon.awssdk newArtifactId: transfer - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-deadline newGroupId: software.amazon.awssdk newArtifactId: deadline - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-braket newGroupId: software.amazon.awssdk newArtifactId: braket - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-verifiedpermissions newGroupId: software.amazon.awssdk newArtifactId: verifiedpermissions - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-scheduler newGroupId: software.amazon.awssdk newArtifactId: scheduler - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacedeployment newGroupId: software.amazon.awssdk newArtifactId: marketplacedeployment - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resourcegroups newGroupId: software.amazon.awssdk newArtifactId: resourcegroups - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qldb newGroupId: software.amazon.awssdk newArtifactId: qldb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dms newGroupId: software.amazon.awssdk newArtifactId: databasemigration - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ecr newGroupId: software.amazon.awssdk newArtifactId: ecr - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dynamodb newGroupId: software.amazon.awssdk newArtifactId: dynamodb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resiliencehub newGroupId: software.amazon.awssdk newArtifactId: resiliencehub - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qldbsession newGroupId: software.amazon.awssdk newArtifactId: qldbsession - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53 newGroupId: software.amazon.awssdk newArtifactId: route53domains - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-macie2 newGroupId: software.amazon.awssdk newArtifactId: macie2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkmeetings newGroupId: software.amazon.awssdk newArtifactId: chimesdkmeetings - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationautoscaling newGroupId: software.amazon.awssdk newArtifactId: applicationautoscaling - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-entityresolution newGroupId: software.amazon.awssdk newArtifactId: entityresolution - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-s3outposts newGroupId: software.amazon.awssdk newArtifactId: s3outposts - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-managedgrafana newGroupId: software.amazon.awssdk newArtifactId: grafana - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-storagegateway newGroupId: software.amazon.awssdk newArtifactId: storagegateway - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-recyclebin newGroupId: software.amazon.awssdk newArtifactId: rbin - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ioteventsdata newGroupId: software.amazon.awssdk newArtifactId: ioteventsdata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53recoverycluster newGroupId: software.amazon.awssdk newArtifactId: route53recoverycluster - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ecs newGroupId: software.amazon.awssdk newArtifactId: ecs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticloadbalancing newGroupId: software.amazon.awssdk newArtifactId: elasticloadbalancing - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectcontactlens newGroupId: software.amazon.awssdk newArtifactId: connectcontactlens - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkmediapipelines newGroupId: software.amazon.awssdk newArtifactId: chimesdkmediapipelines - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisvideosignalingchannels newGroupId: software.amazon.awssdk newArtifactId: kinesisvideosignaling - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qconnect newGroupId: software.amazon.awssdk newArtifactId: qconnect - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kendraranking newGroupId: software.amazon.awssdk newArtifactId: kendraranking - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudsearch newGroupId: software.amazon.awssdk newArtifactId: cloudsearch - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-logs newGroupId: software.amazon.awssdk newArtifactId: cloudwatchlogs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appfabric newGroupId: software.amazon.awssdk newArtifactId: appfabric - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lookoutforvision newGroupId: software.amazon.awssdk newArtifactId: lookoutvision - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53resolver newGroupId: software.amazon.awssdk newArtifactId: route53resolver - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workspaces newGroupId: software.amazon.awssdk newArtifactId: workspaces - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-machinelearning newGroupId: software.amazon.awssdk newArtifactId: machinelearning - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-costandusagereport newGroupId: software.amazon.awssdk newArtifactId: costandusagereport - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-taxsettings newGroupId: software.amazon.awssdk newArtifactId: taxsettings - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-fsx newGroupId: software.amazon.awssdk newArtifactId: fsx - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codepipeline newGroupId: software.amazon.awssdk newArtifactId: codepipeline - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticloadbalancingv2 newGroupId: software.amazon.awssdk newArtifactId: elasticloadbalancingv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-directory newGroupId: software.amazon.awssdk newArtifactId: directory - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrockruntime newGroupId: software.amazon.awssdk newArtifactId: bedrockruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codestarnotifications newGroupId: software.amazon.awssdk newArtifactId: codestarnotifications - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-schemas newGroupId: software.amazon.awssdk newArtifactId: schemas - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sqs newGroupId: software.amazon.awssdk newArtifactId: sqs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appregistry newGroupId: software.amazon.awssdk newArtifactId: servicecatalogappregistry - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appmesh newGroupId: software.amazon.awssdk newArtifactId: appmesh - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhuborchestrator newGroupId: software.amazon.awssdk newArtifactId: migrationhuborchestrator - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-discovery newGroupId: software.amazon.awssdk newArtifactId: applicationdiscovery - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iot newGroupId: software.amazon.awssdk newArtifactId: iot - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisvideowebrtcstorage newGroupId: software.amazon.awssdk newArtifactId: kinesisvideowebrtcstorage - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ebs newGroupId: software.amazon.awssdk newArtifactId: ebs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-amplify newGroupId: software.amazon.awssdk newArtifactId: amplify - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudcontrolapi newGroupId: software.amazon.awssdk newArtifactId: cloudcontrol - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-wellarchitected newGroupId: software.amazon.awssdk newArtifactId: wellarchitected - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplaceentitlement newGroupId: software.amazon.awssdk newArtifactId: marketplaceentitlement - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrock newGroupId: software.amazon.awssdk newArtifactId: bedrock - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-redshift newGroupId: software.amazon.awssdk newArtifactId: redshift - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectcases newGroupId: software.amazon.awssdk newArtifactId: connectcases - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appflow newGroupId: software.amazon.awssdk newArtifactId: appflow - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-gamelift newGroupId: software.amazon.awssdk newArtifactId: gamelift - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudtrail newGroupId: software.amazon.awssdk newArtifactId: cloudtrail - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-supplychain newGroupId: software.amazon.awssdk newArtifactId: supplychain - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pipes newGroupId: software.amazon.awssdk newArtifactId: pipes - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatchevidently newGroupId: software.amazon.awssdk newArtifactId: evidently - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-amplifyuibuilder newGroupId: software.amazon.awssdk newArtifactId: amplifyuibuilder - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-managedblockchainquery newGroupId: software.amazon.awssdk newArtifactId: managedblockchainquery - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationinsights newGroupId: software.amazon.awssdk newArtifactId: applicationinsights - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkmessaging newGroupId: software.amazon.awssdk newArtifactId: chimesdkmessaging - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediatailor newGroupId: software.amazon.awssdk newArtifactId: mediatailor - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediapackagev2 newGroupId: software.amazon.awssdk newArtifactId: mediapackagev2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resourceexplorer2 newGroupId: software.amazon.awssdk newArtifactId: resourceexplorer2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pi newGroupId: software.amazon.awssdk newArtifactId: pi - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-emrserverless newGroupId: software.amazon.awssdk newArtifactId: emrserverless - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appconfig newGroupId: software.amazon.awssdk newArtifactId: appconfig - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-networkmonitor newGroupId: software.amazon.awssdk newArtifactId: networkmonitor - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakerfeaturestoreruntime newGroupId: software.amazon.awssdk newArtifactId: sagemakerfeaturestoreruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkidentity newGroupId: software.amazon.awssdk newArtifactId: chimesdkidentity - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-computeoptimizer newGroupId: software.amazon.awssdk newArtifactId: computeoptimizer - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectparticipant newGroupId: software.amazon.awssdk newArtifactId: connectparticipant - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mgn newGroupId: software.amazon.awssdk newArtifactId: mgn - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationcostprofiler newGroupId: software.amazon.awssdk newArtifactId: applicationcostprofiler - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-new-service-template newGroupId: software.amazon.awssdk newArtifactId: new-service-template - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-keyspaces newGroupId: software.amazon.awssdk newArtifactId: keyspaces - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iam newGroupId: software.amazon.awssdk newArtifactId: iam - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-networkfirewall newGroupId: software.amazon.awssdk newArtifactId: networkfirewall - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-redshiftdataapi newGroupId: software.amazon.awssdk newArtifactId: redshiftdata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediastore newGroupId: software.amazon.awssdk newArtifactId: mediastore - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloud9 newGroupId: software.amazon.awssdk newArtifactId: cloud9 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectwisdom newGroupId: software.amazon.awssdk newArtifactId: wisdom - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sso newGroupId: software.amazon.awssdk newArtifactId: sso - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-auditmanager newGroupId: software.amazon.awssdk newArtifactId: auditmanager - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-snowball newGroupId: software.amazon.awssdk newArtifactId: snowball - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesis newGroupId: software.amazon.awssdk newArtifactId: kinesisanalytics - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53recoverycontrolconfig newGroupId: software.amazon.awssdk newArtifactId: route53recoverycontrolconfig - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opsworks newGroupId: software.amazon.awssdk newArtifactId: opsworks - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-identitystore newGroupId: software.amazon.awssdk newArtifactId: identitystore - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectcampaign newGroupId: software.amazon.awssdk newArtifactId: connectcampaigns - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-textract newGroupId: software.amazon.awssdk newArtifactId: textract - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-redshiftserverless newGroupId: software.amazon.awssdk newArtifactId: redshiftserverless - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-eks newGroupId: software.amazon.awssdk newArtifactId: eks - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-support newGroupId: software.amazon.awssdk newArtifactId: support - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mechanicalturkrequester newGroupId: software.amazon.awssdk newArtifactId: mturk - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apigatewayv2 newGroupId: software.amazon.awssdk newArtifactId: apigatewayv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-devopsguru newGroupId: software.amazon.awssdk newArtifactId: devopsguru - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-prometheus newGroupId: software.amazon.awssdk newArtifactId: amp - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-drs newGroupId: software.amazon.awssdk newArtifactId: drs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhubconfig newGroupId: software.amazon.awssdk newArtifactId: migrationhubconfig - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kafkaconnect newGroupId: software.amazon.awssdk newArtifactId: kafkaconnect - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kafka newGroupId: software.amazon.awssdk newArtifactId: kafka - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-gluedatabrew newGroupId: software.amazon.awssdk newArtifactId: databrew - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codedeploy newGroupId: software.amazon.awssdk newArtifactId: codedeploy - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudhsmv2 newGroupId: software.amazon.awssdk newArtifactId: cloudhsmv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-batch newGroupId: software.amazon.awssdk newArtifactId: batch - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-savingsplans newGroupId: software.amazon.awssdk newArtifactId: savingsplans - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhubstrategyrecommendations newGroupId: software.amazon.awssdk newArtifactId: migrationhubstrategy - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appsync newGroupId: software.amazon.awssdk newArtifactId: appsync - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-backupgateway newGroupId: software.amazon.awssdk newArtifactId: backupgateway - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dlm newGroupId: software.amazon.awssdk newArtifactId: dlm - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-amplifybackend newGroupId: software.amazon.awssdk newArtifactId: amplifybackend - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-datazoneexternal newGroupId: software.amazon.awssdk newArtifactId: datazone - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-billingconductor newGroupId: software.amazon.awssdk newArtifactId: billingconductor - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workspacesthinclient newGroupId: software.amazon.awssdk newArtifactId: workspacesthinclient - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmsap newGroupId: software.amazon.awssdk newArtifactId: ssmsap - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-budgets newGroupId: software.amazon.awssdk newArtifactId: budgets - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mainframemodernization newGroupId: software.amazon.awssdk newArtifactId: m2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-finspace newGroupId: software.amazon.awssdk newArtifactId: finspace - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-detective newGroupId: software.amazon.awssdk newArtifactId: detective - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lambda newGroupId: software.amazon.awssdk newArtifactId: lambda - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssooidc newGroupId: software.amazon.awssdk newArtifactId: ssooidc - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-panorama newGroupId: software.amazon.awssdk newArtifactId: panorama - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotevents newGroupId: software.amazon.awssdk newArtifactId: iotevents - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-managedblockchain newGroupId: software.amazon.awssdk newArtifactId: managedblockchain - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servicediscovery newGroupId: software.amazon.awssdk newArtifactId: servicediscovery - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-waf newGroupId: software.amazon.awssdk newArtifactId: waf - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ivs newGroupId: software.amazon.awssdk newArtifactId: ivs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-directconnect newGroupId: software.amazon.awssdk newArtifactId: directconnect - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mq newGroupId: software.amazon.awssdk newArtifactId: mq - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpointsmsvoicev2 newGroupId: software.amazon.awssdk newArtifactId: pinpointsmsvoicev2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-internetmonitor newGroupId: software.amazon.awssdk newArtifactId: internetmonitor - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-artifact newGroupId: software.amazon.awssdk newArtifactId: artifact - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotsitewise newGroupId: software.amazon.awssdk newArtifactId: iotsitewise - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lexmodelsv2 newGroupId: software.amazon.awssdk newArtifactId: lexmodelsv2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lexruntimev2 newGroupId: software.amazon.awssdk newArtifactId: lexruntimev2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-serverlessapplicationrepository newGroupId: software.amazon.awssdk newArtifactId: serverlessapplicationrepository - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-eksauth newGroupId: software.amazon.awssdk newArtifactId: eksauth - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-snowdevicemanagement newGroupId: software.amazon.awssdk newArtifactId: snowdevicemanagement - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-clouddirectory newGroupId: software.amazon.awssdk newArtifactId: clouddirectory - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediapackagevod newGroupId: software.amazon.awssdk newArtifactId: mediapackagevod - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codestarconnections newGroupId: software.amazon.awssdk newArtifactId: codestarconnections - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codeartifact newGroupId: software.amazon.awssdk newArtifactId: codeartifact - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-guardduty newGroupId: software.amazon.awssdk newArtifactId: guardduty - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-worklink newGroupId: software.amazon.awssdk newArtifactId: worklink - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cleanrooms newGroupId: software.amazon.awssdk newArtifactId: cleanrooms - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-customerprofiles newGroupId: software.amazon.awssdk newArtifactId: customerprofiles - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-trustedadvisor newGroupId: software.amazon.awssdk newArtifactId: trustedadvisor - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dax newGroupId: software.amazon.awssdk newArtifactId: dax - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opsworkscm newGroupId: software.amazon.awssdk newArtifactId: opsworkscm - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-docdb newGroupId: software.amazon.awssdk newArtifactId: docdb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-acmpca newGroupId: software.amazon.awssdk newArtifactId: acmpca - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesis newGroupId: software.amazon.awssdk newArtifactId: firehose - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ivschat newGroupId: software.amazon.awssdk newArtifactId: ivschat - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-globalaccelerator newGroupId: software.amazon.awssdk newArtifactId: globalaccelerator - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ses newGroupId: software.amazon.awssdk newArtifactId: ses - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codegurureviewer newGroupId: software.amazon.awssdk newArtifactId: codegurureviewer - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lexmodelbuilding newGroupId: software.amazon.awssdk newArtifactId: lexmodelbuilding - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-medicalimaging newGroupId: software.amazon.awssdk newArtifactId: medicalimaging - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-account newGroupId: software.amazon.awssdk newArtifactId: account - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-robomaker newGroupId: software.amazon.awssdk newArtifactId: robomaker - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lex newGroupId: software.amazon.awssdk newArtifactId: lexruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-autoscaling newGroupId: software.amazon.awssdk newArtifactId: autoscaling - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-nimblestudio newGroupId: software.amazon.awssdk newArtifactId: nimble - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotjobsdataplane newGroupId: software.amazon.awssdk newArtifactId: iotjobsdataplane - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appconfigdata newGroupId: software.amazon.awssdk newArtifactId: appconfigdata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-controlcatalog newGroupId: software.amazon.awssdk newArtifactId: controlcatalog - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-greengrass newGroupId: software.amazon.awssdk newArtifactId: greengrass - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-securityhub newGroupId: software.amazon.awssdk newArtifactId: securityhub - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-timestreamquery newGroupId: software.amazon.awssdk newArtifactId: timestreamquery - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-backup newGroupId: software.amazon.awssdk newArtifactId: backup - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opensearchserverless newGroupId: software.amazon.awssdk newArtifactId: opensearchserverless - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudformation newGroupId: software.amazon.awssdk newArtifactId: cloudformation - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kendra newGroupId: software.amazon.awssdk newArtifactId: kendra - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connect newGroupId: software.amazon.awssdk newArtifactId: connect - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticache newGroupId: software.amazon.awssdk newArtifactId: elasticache - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-stepfunctions newGroupId: software.amazon.awssdk newArtifactId: sfn - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cognitoidp newGroupId: software.amazon.awssdk newArtifactId: cognitoidentityprovider - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkvoice newGroupId: software.amazon.awssdk newArtifactId: chimesdkvoice - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workspacesweb newGroupId: software.amazon.awssdk newArtifactId: workspacesweb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-comprehend newGroupId: software.amazon.awssdk newArtifactId: comprehend - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationsignals newGroupId: software.amazon.awssdk newArtifactId: applicationsignals - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacemeteringservice newGroupId: software.amazon.awssdk newArtifactId: marketplacemetering - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-devicefarm newGroupId: software.amazon.awssdk newArtifactId: devicefarm - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-rekognition newGroupId: software.amazon.awssdk newArtifactId: rekognition - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appstream newGroupId: software.amazon.awssdk newArtifactId: appstream - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-polly newGroupId: software.amazon.awssdk newArtifactId: polly - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-rds newGroupId: software.amazon.awssdk newArtifactId: rds - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pricing newGroupId: software.amazon.awssdk newArtifactId: pricing - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-simpleworkflow newGroupId: software.amazon.awssdk newArtifactId: swf - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-events newGroupId: software.amazon.awssdk newArtifactId: cloudwatchevents - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmquicksetup newGroupId: software.amazon.awssdk newArtifactId: ssmquicksetup - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-autoscalingplans newGroupId: software.amazon.awssdk newArtifactId: autoscalingplans - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-datapipeline newGroupId: software.amazon.awssdk newArtifactId: datapipeline - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-transcribe newGroupId: software.amazon.awssdk newArtifactId: transcribe - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ivsrealtime newGroupId: software.amazon.awssdk newArtifactId: ivsrealtime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-personalizeruntime newGroupId: software.amazon.awssdk newArtifactId: personalizeruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticsearch newGroupId: software.amazon.awssdk newArtifactId: elasticsearch - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codecommit newGroupId: software.amazon.awssdk newArtifactId: codecommit - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resourcegroupstaggingapi newGroupId: software.amazon.awssdk newArtifactId: resourcegroupstaggingapi - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-forecastquery newGroupId: software.amazon.awssdk newArtifactId: forecastquery - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-healthlake newGroupId: software.amazon.awssdk newArtifactId: healthlake - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iamrolesanywhere newGroupId: software.amazon.awssdk newArtifactId: rolesanywhere - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-personalizeevents newGroupId: software.amazon.awssdk newArtifactId: personalizeevents - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apigatewaymanagementapi newGroupId: software.amazon.awssdk newArtifactId: apigatewaymanagementapi - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-launchwizard newGroupId: software.amazon.awssdk newArtifactId: launchwizard - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-xray newGroupId: software.amazon.awssdk newArtifactId: xray - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssoadmin newGroupId: software.amazon.awssdk newArtifactId: ssoadmin - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-api-gateway newGroupId: software.amazon.awssdk newArtifactId: apigateway - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhubrefactorspaces newGroupId: software.amazon.awssdk newArtifactId: migrationhubrefactorspaces - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ram newGroupId: software.amazon.awssdk newArtifactId: ram - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codeconnections newGroupId: software.amazon.awssdk newArtifactId: codeconnections - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-efs newGroupId: software.amazon.awssdk newArtifactId: efs - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrockagentruntime newGroupId: software.amazon.awssdk newArtifactId: bedrockagentruntime - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dataexchange newGroupId: software.amazon.awssdk newArtifactId: dataexchange - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sts newGroupId: software.amazon.awssdk newArtifactId: sts - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemaker newGroupId: software.amazon.awssdk newArtifactId: sagemaker - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-finspacedata newGroupId: software.amazon.awssdk newArtifactId: finspacedata - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacecatalog newGroupId: software.amazon.awssdk newArtifactId: marketplacecatalog - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-acm newGroupId: software.amazon.awssdk newArtifactId: acm - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-athena newGroupId: software.amazon.awssdk newArtifactId: athena - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53 newGroupId: software.amazon.awssdk newArtifactId: route53 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codegurusecurity newGroupId: software.amazon.awssdk newArtifactId: codegurusecurity - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-tnb newGroupId: software.amazon.awssdk newArtifactId: tnb - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ec2 newGroupId: software.amazon.awssdk newArtifactId: ec2 - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apprunner newGroupId: software.amazon.awssdk newArtifactId: apprunner - newVersion: 2.31.68 + newVersion: 2.31.75 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lookoutmetrics newGroupId: software.amazon.awssdk newArtifactId: lookoutmetrics - newVersion: 2.31.68 + newVersion: 2.31.75 ``` diff --git a/docs/recipes/spring/README.md b/docs/recipes/spring/README.md new file mode 100644 index 0000000000..6983317503 --- /dev/null +++ b/docs/recipes/spring/README.md @@ -0,0 +1,7 @@ +# Spring + +## Categories + +* [Webxml](/recipes/spring/webxml) + + diff --git a/docs/recipes/spring/webxml/README.md b/docs/recipes/spring/webxml/README.md new file mode 100644 index 0000000000..28e5dc3f2f --- /dev/null +++ b/docs/recipes/spring/webxml/README.md @@ -0,0 +1,14 @@ +# Webxml + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Migrate `web.xml` to Java Configuration](./removewebxml.md) + +## Recipes + +* [Migrate `web.xml` using Jakarta EE](./migratetojakartaeeservletconfiguration.md) +* [Migrate `web.xml` using Java EE](./migratetojavaxservletconfiguration.md) + + diff --git a/docs/recipes/spring/webxml/migratetojakartaeeservletconfiguration.md b/docs/recipes/spring/webxml/migratetojakartaeeservletconfiguration.md new file mode 100644 index 0000000000..654f89abc8 --- /dev/null +++ b/docs/recipes/spring/webxml/migratetojakartaeeservletconfiguration.md @@ -0,0 +1,109 @@ +--- +sidebar_label: "Migrate web.xml using Jakarta EE" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate `web.xml` using Jakarta EE + +**org.openrewrite.spring.webxml.MigrateToJakartaEEServletConfiguration** + +_Migrates `web.xml` content to Spring Boot Configuration classes using Jakarta EE namespace._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe MigrateToJakartaEEServletConfiguration +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/spring/webxml/migratetojavaxservletconfiguration.md b/docs/recipes/spring/webxml/migratetojavaxservletconfiguration.md new file mode 100644 index 0000000000..d61a79e9dc --- /dev/null +++ b/docs/recipes/spring/webxml/migratetojavaxservletconfiguration.md @@ -0,0 +1,109 @@ +--- +sidebar_label: "Migrate web.xml using Java EE" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate `web.xml` using Java EE + +**org.openrewrite.spring.webxml.MigrateToJavaXServletConfiguration** + +_Migrates `web.xml` content to Spring Boot Configuration classes using Java EE javax namespace._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe MigrateToJavaXServletConfiguration +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/spring/webxml/removewebxml.md b/docs/recipes/spring/webxml/removewebxml.md new file mode 100644 index 0000000000..80b3369b52 --- /dev/null +++ b/docs/recipes/spring/webxml/removewebxml.md @@ -0,0 +1,109 @@ +--- +sidebar_label: "Migrate web.xml to Java Configuration" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate `web.xml` to Java Configuration + +**org.openrewrite.spring.webxml.RemoveWebXml** + +_Migrates `web.xml` content to Spring Boot Configuration classes with respect to Java EE or Jakarta EE usage._ + +## Recipe source + +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). + + +## Usage + +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + + + + + +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. + +```shell title="shell" +mod run . --recipe RemoveWebXml +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + diff --git a/docs/recipes/staticanalysis/README.md b/docs/recipes/staticanalysis/README.md index 7abdf107e3..ad40474252 100644 --- a/docs/recipes/staticanalysis/README.md +++ b/docs/recipes/staticanalysis/README.md @@ -88,6 +88,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Remove `finalize()` method](./nofinalizer.md) * [Remove garbage collection invocations](./removecallstosystemgc.md) * [Remove redundant casts](./removeredundanttypecast.md) +* [Remove redundant null checks before instanceof](./removeredundantnullcheckbeforeinstanceof.md) * [Remove `toString()` calls on arrays](./removetostringcallsfromarrayinstances.md) * [Remove unnecessary parentheses](./unnecessaryparentheses.md) * [Remove unneeded assertions](./removeunneededassertion.md) @@ -118,6 +119,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Replace text block with regular string](./replacetextblockwithstring.md) * [Replaces `Object.notify()` with `Object.notifyAll()`](./useobjectnotifyall.md) * [Set charset encoding explicitly when calling `String#getBytes`](./explicitcharsetonstringgetbytes.md) +* [Simplify `Arrays.asList(..)` with varargs](./simplifyarraysaslist.md) * [Simplify boolean expression](./simplifybooleanexpression.md) * [Simplify boolean return](./simplifybooleanreturn.md) * [Simplify compound statement](./simplifycompoundstatement.md) diff --git a/docs/recipes/staticanalysis/addserialversionuidtoserializable.md b/docs/recipes/staticanalysis/addserialversionuidtoserializable.md index 9518f39be4..3b2fe25a37 100644 --- a/docs/recipes/staticanalysis/addserialversionuidtoserializable.md +++ b/docs/recipes/staticanalysis/addserialversionuidtoserializable.md @@ -268,4 +268,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [yuri](mailto:1969yuri1969@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), mrbitrary +Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [yuri](mailto:1969yuri1969@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), mrbitrary diff --git a/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md b/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md index ecb5418fa9..5418757af3 100644 --- a/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md +++ b/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md @@ -19,9 +19,7 @@ _String concatenation within calls to `StringBuilder.append()` causes unnecessar This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). -## Examples -##### Example 1 -Chain `StringBuilder.append()` calls instead of the '+' operator to efficiently concatenate strings and numbers. +## Example @@ -68,52 +66,6 @@ class A { ---- - -##### Example 2 -Grouping concatenation. - - - - - - -###### Before -```java -class A { - void method1() { - StringBuilder sb = new StringBuilder(); - String op = "+"; - sb.append("A" + "B" + "C" + op + "D" + "E"); - } -} -``` - -###### After -```java -class A { - void method1() { - StringBuilder sb = new StringBuilder(); - String op = "+"; - sb.append("A" + "B" + "C").append(op).append("D" + "E"); - } -} -``` - - - - -```diff -@@ -5,1 +5,1 @@ - StringBuilder sb = new StringBuilder(); - String op = "+"; -- sb.append("A" + "B" + "C" + op + "D" + "E"); -+ sb.append("A" + "B" + "C").append(op).append("D" + "E"); - } -``` - - - ## Usage diff --git a/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md b/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md index 3fe4e5135f..bb2cc45b65 100644 --- a/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md +++ b/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md @@ -216,4 +216,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Josh Soref, Marklinzi, [Sam Snyder](mailto:sam@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), iddeepak +[Tracey Yoshima](mailto:tracey.yoshima@gmail.com), Abhishek Herbert Samuel, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Josh Soref, Marklinzi, [Knut Wannheden](mailto:knut@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Sam Snyder](mailto:sam@moderne.io), iddeepak diff --git a/docs/recipes/staticanalysis/commonstaticanalysis.md b/docs/recipes/staticanalysis/commonstaticanalysis.md index 24418822c6..a6a82309d9 100644 --- a/docs/recipes/staticanalysis/commonstaticanalysis.md +++ b/docs/recipes/staticanalysis/commonstaticanalysis.md @@ -72,10 +72,12 @@ This recipe is available under the [Moderne Source Available License](https://do * [Use primitive wrapper `valueOf` method](../staticanalysis/primitivewrapperclassconstructortovalueof) * [Redundant file creation](../staticanalysis/redundantfilecreation) * [Remove extra semicolons](../staticanalysis/removeextrasemicolons) +* [Remove redundant null checks before instanceof](../staticanalysis/removeredundantnullcheckbeforeinstanceof) * [Rename methods named `hashcode`, `equal`, or `tostring`](../staticanalysis/renamemethodsnamedhashcodeequalortostring) * [Replace `A.class.isInstance(a)` with `a instanceof A`](../staticanalysis/replaceclassisinstancewithinstanceof) * [Use method references in lambda](../staticanalysis/replacelambdawithmethodreference) * [Replace `StringBuilder#append` with `String`](../staticanalysis/replacestringbuilderwithstring) +* [Simplify `Arrays.asList(..)` with varargs](../staticanalysis/simplifyarraysaslist) * [Simplify boolean expression](../staticanalysis/simplifybooleanexpression) * [Simplify boolean return](../staticanalysis/simplifybooleanreturn) * [Static methods need not be final](../staticanalysis/staticmethodnotfinal) @@ -151,10 +153,12 @@ recipeList: - org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf - org.openrewrite.staticanalysis.RedundantFileCreation - org.openrewrite.staticanalysis.RemoveExtraSemicolons + - org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof - org.openrewrite.staticanalysis.RenameMethodsNamedHashcodeEqualOrToString - org.openrewrite.staticanalysis.ReplaceClassIsInstanceWithInstanceof - org.openrewrite.staticanalysis.ReplaceLambdaWithMethodReference - org.openrewrite.staticanalysis.ReplaceStringBuilderWithString + - org.openrewrite.staticanalysis.SimplifyArraysAsList - org.openrewrite.staticanalysis.SimplifyBooleanExpression - org.openrewrite.staticanalysis.SimplifyBooleanReturn - org.openrewrite.staticanalysis.StaticMethodNotFinal @@ -370,4 +374,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Patrick Way, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Kun Li](mailto:kun@moderne.io), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), punkratz312, [Tim te Beek](mailto:timtebeek@gmail.com), [SMIT MALKAN](mailto:smitmalkan99@gmail.com), Aaron Gershman, [Jammy Louie](mailto:jammy@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io), Greg Oledzki, [Yurii](mailto:yusheng.email@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Karsten Thoms](mailto:karsten.thoms@gmail.com), [Serhii Manko](mailto:mankoffserg@gmail.com), Kun Li, [Peter Streef](mailto:p.streef@gmail.com), Tyler Van Gorder, [Greg Oledzki](mailto:greg.oledzki@moderne.io), Josh Soref, [Jorge Otero](mailto:jorgeor@ext.inditex.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Joan Viladrosa](mailto:joan@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), timo-abele, [Grzegorz Olędzki](mailto:grzegon@poczta.onet.pl), [Lakshya Kwatra](mailto:lakshya.kwatra.official@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:greg@moderne.io), Michel Gonzalez, [Knut Wannheden](mailto:knut.wannheden@gmail.com), Mike Sol, [steve-aom-elliott](mailto:steve@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Derek Sharpe, [Mike Solomon](mailto:mike@moderne.io), [xshen053](mailto:shenxiaxi26@gmail.com), [Scott Jungling](mailto:scott.jungling@gmail.com), [Martin Panzer](mailto:postremus1996@googlemail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Patrick Way, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Kun Li](mailto:kun@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), punkratz312, [Tim te Beek](mailto:timtebeek@gmail.com), [SMIT MALKAN](mailto:smitmalkan99@gmail.com), Aaron Gershman, [Jammy Louie](mailto:jammy@moderne.io), [JohannisK](mailto:johan.kragt@moderne.io), Greg Oledzki, [Yurii](mailto:yusheng.email@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Karsten Thoms](mailto:karsten.thoms@gmail.com), [Serhii Manko](mailto:mankoffserg@gmail.com), Kun Li, [Peter Streef](mailto:p.streef@gmail.com), Tyler Van Gorder, [Greg Oledzki](mailto:greg.oledzki@moderne.io), Josh Soref, [Jorge Otero](mailto:jorgeor@ext.inditex.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Joan Viladrosa](mailto:joan@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), timo-abele, [Grzegorz Olędzki](mailto:grzegon@poczta.onet.pl), [Lakshya Kwatra](mailto:lakshya.kwatra.official@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Greg Adams](mailto:greg@moderne.io), Michel Gonzalez, [Knut Wannheden](mailto:knut.wannheden@gmail.com), cxdima, Mike Sol, [steve-aom-elliott](mailto:steve@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Derek Sharpe, [Mike Solomon](mailto:mike@moderne.io), [xshen053](mailto:shenxiaxi26@gmail.com), [Scott Jungling](mailto:scott.jungling@gmail.com), [Martin Panzer](mailto:postremus1996@googlemail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com) diff --git a/docs/recipes/staticanalysis/equalsavoidsnull.md b/docs/recipes/staticanalysis/equalsavoidsnull.md index 09f4120f10..ccd8ec440e 100644 --- a/docs/recipes/staticanalysis/equalsavoidsnull.md +++ b/docs/recipes/staticanalysis/equalsavoidsnull.md @@ -265,4 +265,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -punkratz312, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io) +punkratz312, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md b/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md index 2921585d01..ee4d4c9872 100644 --- a/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md +++ b/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md @@ -270,4 +270,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md b/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md index 5ec687fba5..d746644622 100644 --- a/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md +++ b/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md @@ -269,4 +269,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) +Tyler Van Gorder, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/staticanalysis/fixstringformatexpressions.md b/docs/recipes/staticanalysis/fixstringformatexpressions.md index b523021bb5..2352278872 100644 --- a/docs/recipes/staticanalysis/fixstringformatexpressions.md +++ b/docs/recipes/staticanalysis/fixstringformatexpressions.md @@ -259,4 +259,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Patrick Way, [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Patrick Way, [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), cxdima, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/staticanalysis/instanceofpatternmatch.md b/docs/recipes/staticanalysis/instanceofpatternmatch.md index dfdd67b09d..3c6b93e553 100644 --- a/docs/recipes/staticanalysis/instanceofpatternmatch.md +++ b/docs/recipes/staticanalysis/instanceofpatternmatch.md @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut.wannheden@gmail.com), [aboyko](mailto:aboyko@vmware.com), Daniel Meier, [Christian Ortlepp](mailto:me@cortlepp.net), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Ko Turk](mailto:ko.turk@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Hoan Nguyen](mailto:nguyenanhhoan@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Kun Li](mailto:kun@moderne.io) +[Knut Wannheden](mailto:knut.wannheden@gmail.com), [aboyko](mailto:aboyko@vmware.com), Daniel Meier, [Christian Ortlepp](mailto:me@cortlepp.net), [Ko Turk](mailto:ko.turk@hotmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Hoan Nguyen](mailto:nguyenanhhoan@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), [Kun Li](mailto:kun@moderne.io) diff --git a/docs/recipes/staticanalysis/java/movefieldannotationtotype.md b/docs/recipes/staticanalysis/java/movefieldannotationtotype.md index bbb5ff3e69..0fe1ec272e 100644 --- a/docs/recipes/staticanalysis/java/movefieldannotationtotype.md +++ b/docs/recipes/staticanalysis/java/movefieldannotationtotype.md @@ -262,4 +262,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Leanne Kerford](mailto:lea.kerford@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Leanne Kerford](mailto:lea.kerford@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/staticanalysis/maskcreditcardnumbers.md b/docs/recipes/staticanalysis/maskcreditcardnumbers.md index 48e51482fb..a644a5e34c 100644 --- a/docs/recipes/staticanalysis/maskcreditcardnumbers.md +++ b/docs/recipes/staticanalysis/maskcreditcardnumbers.md @@ -246,4 +246,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Sam Snyder](mailto:sam@moderne.io), cxdima, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/staticanalysis/removeextrasemicolons.md b/docs/recipes/staticanalysis/removeextrasemicolons.md index f128871545..4c6cd834c4 100644 --- a/docs/recipes/staticanalysis/removeextrasemicolons.md +++ b/docs/recipes/staticanalysis/removeextrasemicolons.md @@ -24,8 +24,7 @@ _Removes not needed semicolons. Semicolons are considered not needed: * Optiona This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). -## Examples -##### Example 1 +## Example @@ -62,69 +61,6 @@ class Test { ---- - -##### Example 2 - - - - - - -###### Before -```java -class Test { - void test() { - int a = 1;; - int b = 2; - int c = 3;;; - int d = 4; - int e = 5; ; - int f = 6; - } -} -``` - -###### After -```java -class Test { - void test() { - int a = 1; - int b = 2; - int c = 3; - int d = 4; - int e = 5; - int f = 6; - } -} -``` - - - - -```diff -@@ -3,1 +3,1 @@ -class Test { - void test() { -- int a = 1;; -+ int a = 1; - int b = 2; -@@ -5,1 +5,1 @@ - int a = 1;; - int b = 2; -- int c = 3;;; -+ int c = 3; - int d = 4; -@@ -7,1 +7,1 @@ - int c = 3;;; - int d = 4; -- int e = 5; ; -+ int e = 5; - int f = 6; -``` - - - ## Usage diff --git a/docs/recipes/staticanalysis/removeredundantnullcheckbeforeinstanceof.md b/docs/recipes/staticanalysis/removeredundantnullcheckbeforeinstanceof.md new file mode 100644 index 0000000000..1ac51cd421 --- /dev/null +++ b/docs/recipes/staticanalysis/removeredundantnullcheckbeforeinstanceof.md @@ -0,0 +1,262 @@ +--- +sidebar_label: "Remove redundant null checks before instanceof" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove redundant null checks before instanceof + +**org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof** + +_Removes redundant null checks before instanceof operations since instanceof returns false for null._ + +### Tags + +* [RSPEC-S1697](https://sonarsource.github.io/rspec/#/rspec/S1697) + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveRedundantNullCheckBeforeInstanceof.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Example + + + + + + +###### Before +```java +class A { + void foo(String s) { + if (s != null && s instanceof String) { + System.out.println("String value: " + s); + } + } +} +``` + +###### After +```java +class A { + void foo(String s) { + if (s instanceof String) { + System.out.println("String value: " + s); + } + } +} +``` + + + + +```diff +@@ -3,1 +3,1 @@ +class A { + void foo(String s) { +- if (s != null && s instanceof String) { ++ if (s instanceof String) { + System.out.println("String value: " + s); +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}}") + } + rewrite { + activeRecipe("org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof + + + + + org.openrewrite.recipe + rewrite-static-analysis + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-static-analysis:RELEASE -Drewrite.activeRecipes=org.openrewrite.staticanalysis.RemoveRedundantNullCheckBeforeInstanceof -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe RemoveRedundantNullCheckBeforeInstanceof +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/staticanalysis/removeunusedlocalvariables.md b/docs/recipes/staticanalysis/removeunusedlocalvariables.md index 2b3944b10e..d4c696d6f2 100644 --- a/docs/recipes/staticanalysis/removeunusedlocalvariables.md +++ b/docs/recipes/staticanalysis/removeunusedlocalvariables.md @@ -272,4 +272,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Bartosz Gałek](mailto:bartosz@galek.com.pl), [Knut Wannheden](mailto:knut@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [David Tran](mailto:david.tran@snowflake.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Bartosz Gałek](mailto:bartosz@galek.com.pl), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [David Tran](mailto:david.tran@snowflake.com), [steve-aom-elliott](mailto:steve@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com) diff --git a/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md b/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md index 66ce22c3f6..a74351e23b 100644 --- a/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md +++ b/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md @@ -273,4 +273,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Kun Li](mailto:kun@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Kun Li](mailto:kun@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/staticanalysis/simplifyarraysaslist.md b/docs/recipes/staticanalysis/simplifyarraysaslist.md new file mode 100644 index 0000000000..d7e0dbb600 --- /dev/null +++ b/docs/recipes/staticanalysis/simplifyarraysaslist.md @@ -0,0 +1,219 @@ +--- +sidebar_label: "Simplify Arrays.asList(..) with varargs" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Simplify `Arrays.asList(..)` with varargs + +**org.openrewrite.staticanalysis.SimplifyArraysAsList** + +_Simplifies `Arrays.asList()` method calls that use explicit array creation to use varargs instead. For example, `Arrays.asList(new String[]{"a", "b", "c"})` becomes `Arrays.asList("a", "b", "c")`._ + +### Tags + +* [RSPEC-S3878](https://sonarsource.github.io/rspec/#/rspec/S3878) + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyArraysAsList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): + + + +1. Add the following to your `build.gradle` file: + +```groovy title="build.gradle" +plugins { + id("org.openrewrite.rewrite") version("latest.release") +} + +rewrite { + activeRecipe("org.openrewrite.staticanalysis.SimplifyArraysAsList") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}}") +} +``` + +2. Run `gradle rewriteRun` to run the recipe. + + + + +1. Create a file named `init.gradle` in the root of your project. + +```groovy title="init.gradle" +initscript { + repositories { + maven { url "https://plugins.gradle.org/m2" } + } + dependencies { classpath("org.openrewrite:plugin:{{VERSION_REWRITE_GRADLE_PLUGIN}}") } +} +rootProject { + plugins.apply(org.openrewrite.gradle.RewritePlugin) + dependencies { + rewrite("org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}}") + } + rewrite { + activeRecipe("org.openrewrite.staticanalysis.SimplifyArraysAsList") + setExportDatatables(true) + } + afterEvaluate { + if (repositories.isEmpty()) { + repositories { + mavenCentral() + } + } + } +} +``` + +2. Run the recipe. + +```shell title="shell" +gradle --init-script init.gradle rewriteRun +``` + + + + +1. Add the following to your `pom.xml` file: + +```xml title="pom.xml" + + + + + org.openrewrite.maven + rewrite-maven-plugin + {{VERSION_REWRITE_MAVEN_PLUGIN}} + + true + + org.openrewrite.staticanalysis.SimplifyArraysAsList + + + + + org.openrewrite.recipe + rewrite-static-analysis + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}} + + + + + + +``` + +2. Run `mvn rewrite:run` to run the recipe. + + + +You will need to have [Maven](https://maven.apache.org/download.cgi) installed on your machine before you can run the following command. + +```shell title="shell" +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-static-analysis:RELEASE -Drewrite.activeRecipes=org.openrewrite.staticanalysis.SimplifyArraysAsList -Drewrite.exportDatatables=true +``` + + + +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. + +```shell title="shell" +mod run . --recipe SimplifyArraysAsList +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}} +``` + + + +## See how this recipe works across multiple open-source repositories + +import RecipeCallout from '@site/src/components/ModerneLink'; + + + +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. + +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. +## Data Tables + + + + +### Source files that had results +**org.openrewrite.table.SourcesFileResults** + +_Source files that were modified by the recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | +| 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. | +| 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. | +| Recipe that made changes | The specific recipe that made a change. | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | +| Cycle | The recipe cycle in which the change was made. | + + + + + +### Source files that errored on a recipe +**org.openrewrite.table.SourcesFileErrors** + +_The details of all errors produced by a recipe run._ + +| Column Name | Description | +| ----------- | ----------- | +| Source path | The file that failed to parse. | +| Recipe that made changes | The specific recipe that made a change. | +| Stack trace | The stack trace of the failure. | + + + + + +### Recipe performance +**org.openrewrite.table.RecipeRunStats** + +_Statistics used in analyzing the performance of recipes._ + +| Column Name | Description | +| ----------- | ----------- | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | +| Source file count | The number of source files the recipe ran over. | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | +| 99th percentile scanning time (ns) | 99 out of 100 scans completed in this amount of time. | +| Max scanning time (ns) | The max time scanning any one source file. | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | +| 99th percentile edit time (ns) | 99 out of 100 edits completed in this amount of time. | +| Max edit time (ns) | The max time editing any one source file. | + + + + + +## Contributors +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md b/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md index 1da5fdf4e1..c560f47044 100644 --- a/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md +++ b/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md @@ -261,4 +261,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Zhang,Ross, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Mike Sol, [Knut Wannheden](mailto:knut@moderne.io) +Zhang,Ross, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), Mike Sol, [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/staticanalysis/usejavastylearraydeclarations.md b/docs/recipes/staticanalysis/usejavastylearraydeclarations.md index d7a1d6b8d5..ce9baf4d58 100644 --- a/docs/recipes/staticanalysis/usejavastylearraydeclarations.md +++ b/docs/recipes/staticanalysis/usejavastylearraydeclarations.md @@ -270,4 +270,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Patrick Way, [Tim te Beek](mailto:timtebeek@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com) +Patrick Way, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/reference/latest-versions-of-every-openrewrite-module.md b/docs/reference/latest-versions-of-every-openrewrite-module.md index baf0fa597d..b34f2a250b 100644 --- a/docs/reference/latest-versions-of-every-openrewrite-module.md +++ b/docs/reference/latest-versions-of-every-openrewrite-module.md @@ -14,86 +14,80 @@ The use of the "bill of materials" means that a developer will only need to spec | Module | Version | License | |-----------------------------------------------------------------------------------------------------------------------| ---------- | ------- | -| [**org.openrewrite:rewrite-bom**](https://github.com/openrewrite/rewrite) | **[8.56.1](https://github.com/openrewrite/rewrite/releases/tag/v8.56.1)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [**org.openrewrite:rewrite-maven-plugin**](https://github.com/openrewrite/rewrite-maven-plugin) | **[6.12.1](https://github.com/openrewrite/rewrite-maven-plugin/releases/tag/v6.12.1)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [**org.openrewrite:rewrite-gradle-plugin**](https://github.com/openrewrite/rewrite-gradle-plugin) | **[7.9.0](https://github.com/openrewrite/rewrite-gradle-plugin/releases/tag/v7.9.0)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [**org.openrewrite.recipe:rewrite-recipe-bom**](https://github.com/openrewrite/rewrite-recipe-bom) | **[3.10.1](https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.10.1)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [**io.moderne.recipe:moderne-recipe-bom**](https://github.com/moderneinc/moderne-recipe-bom) | **[0.14.1](https://github.com/moderneinc/rewrite-recipe-bom/releases/tag/v0.14.1)** | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-cryptography](https://github.com/moderneinc/rewrite-cryptography/blob/main/) | [0.4.0](https://github.com/moderneinc/rewrite-cryptography/blob/main//releases/tag/v0.4.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-devcenter](https://github.com/moderneinc/rewrite-devcenter/blob/main/) | [1.4.2](https://github.com/moderneinc/rewrite-devcenter/blob/main//releases/tag/v1.4.2) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [io.moderne.recipe:rewrite-hibernate](https://github.com/moderneinc/rewrite-hibernate/blob/main/) | [0.6.0](https://github.com/moderneinc/rewrite-hibernate/blob/main//releases/tag/v0.6.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-spring](https://github.com/moderneinc/rewrite-spring/blob/main/) | [0.8.0](https://github.com/moderneinc/rewrite-spring/blob/main//releases/tag/v0.8.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-vulncheck](https://github.com/moderneinc/rewrite-vulncheck/blob/main/) | [0.3.0](https://github.com/moderneinc/rewrite-vulncheck/blob/main//releases/tag/v0.3.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite:rewrite-cobol](https://github.com/moderneinc/rewrite-cobol/blob/main/) | [2.13.0](https://github.com/moderneinc/rewrite-cobol/blob/main//releases/tag/v2.13.0) | License Unknown | -| [org.openrewrite:rewrite-core](https://github.com/openrewrite/rewrite/blob/main/rewrite-core) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-csharp](https://github.com/openrewrite/rewrite-csharp/blob/main/rewrite-csharp) | [0.27.0](https://github.com/openrewrite/rewrite-csharp/blob/main/rewrite-csharp/releases/tag/v0.27.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite:rewrite-gradle](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-groovy](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-hcl](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-java](https://github.com/openrewrite/rewrite/blob/main/rewrite-java) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-javascript](https://github.com/openrewrite/rewrite/blob/main/rewrite-javascript) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-javascript/releases/tag/v8.56.1) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite:rewrite-json](https://github.com/openrewrite/rewrite/blob/main/rewrite-json) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-kotlin](https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-maven](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-polyglot](https://github.com/openrewrite/rewrite-polyglot/blob/main/) | [2.4.0](https://github.com/openrewrite/rewrite-polyglot/blob/main//releases/tag/v2.4.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-properties](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-protobuf](https://github.com/openrewrite/rewrite/blob/main/rewrite-protobuf) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-protobuf/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-python](https://github.com/openrewrite/rewrite-python/blob/main/rewrite-python) | [1.39.0](https://github.com/openrewrite/rewrite-python/blob/main/rewrite-python/releases/tag/v1.39.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-templating](https://github.com/openrewrite/rewrite-templating/blob/main/) | [1.29.1](https://github.com/openrewrite/rewrite-templating/blob/main//releases/tag/v1.29.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-toml](https://github.com/openrewrite/rewrite/blob/main/rewrite-toml) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-toml/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-xml](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite:rewrite-yaml](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml) | [8.56.1](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/releases/tag/v8.56.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.meta:rewrite-analysis](https://github.com/openrewrite/rewrite-analysis/blob/main/) | [2.23.0](https://github.com/openrewrite/rewrite-analysis/blob/main//releases/tag/v2.23.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-ai-search](https://github.com/moderneinc/rewrite-ai-search/blob/main/) | [0.28.0](https://github.com/moderneinc/rewrite-ai-search/blob/main//releases/tag/v0.28.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-all](https://github.com/openrewrite/rewrite-all/blob/main/) | [1.18.0](https://github.com/openrewrite/rewrite-all/blob/main//releases/tag/v1.18.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-android](https://github.com/moderneinc/rewrite-android/blob/main/) | [0.10.0](https://github.com/moderneinc/rewrite-android/blob/main//releases/tag/v0.10.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-apache](https://github.com/openrewrite/rewrite-apache/blob/main/) | [2.11.0](https://github.com/openrewrite/rewrite-apache/blob/main//releases/tag/v2.11.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-azul](https://github.com/moderneinc/rewrite-azul/blob/main/) | [0.3.0](https://github.com/moderneinc/rewrite-azul/blob/main//releases/tag/v0.3.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-circleci](https://github.com/moderneinc/rewrite-circleci/blob/main/) | [3.6.0](https://github.com/moderneinc/rewrite-circleci/blob/main//releases/tag/v3.6.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-codemods](https://github.com/moderneinc/rewrite-codemods/blob/main/) | [0.14.1](https://github.com/moderneinc/rewrite-codemods/blob/main//releases/tag/v0.14.1) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-codemods-ng](https://github.com/moderneinc/rewrite-codemods-ng/blob/main/) | [0.10.1](https://github.com/moderneinc/rewrite-codemods-ng/blob/main//releases/tag/v0.10.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-compiled-analysis](https://github.com/moderneinc/rewrite-compiled-analysis/blob/main/) | [0.7.0](https://github.com/moderneinc/rewrite-compiled-analysis/blob/main//releases/tag/v0.7.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-comprehension](https://github.com/moderneinc/rewrite-comprehension/blob/main/) | [0.7.0](https://github.com/moderneinc/rewrite-comprehension/blob/main//releases/tag/v0.7.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-concourse](https://github.com/moderneinc/rewrite-concourse/blob/main/) | [3.5.0](https://github.com/moderneinc/rewrite-concourse/blob/main//releases/tag/v3.5.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-cucumber-jvm](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/) | [2.8.0](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main//releases/tag/v2.8.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-docker](https://github.com/openrewrite/rewrite-docker/blob/main/) | [2.8.0](https://github.com/openrewrite/rewrite-docker/blob/main//releases/tag/v2.8.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-dotnet](https://github.com/moderneinc/rewrite-dotnet/blob/main/) | [0.11.0](https://github.com/moderneinc/rewrite-dotnet/blob/main//releases/tag/v0.11.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-dropwizard](https://github.com/openrewrite/rewrite-dropwizard/blob/main/) | [0.2.0](https://github.com/openrewrite/rewrite-dropwizard/blob/main//releases/tag/v0.2.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-feature-flags](https://github.com/openrewrite/rewrite-feature-flags/blob/main/) | [1.9.0](https://github.com/openrewrite/rewrite-feature-flags/blob/main//releases/tag/v1.9.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-github-actions](https://github.com/openrewrite/rewrite-github-actions/blob/main/) | [3.8.0](https://github.com/openrewrite/rewrite-github-actions/blob/main//releases/tag/v3.8.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-gitlab](https://github.com/openrewrite/rewrite-gitlab/blob/main/) | [0.14.0](https://github.com/openrewrite/rewrite-gitlab/blob/main//releases/tag/v0.14.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-hibernate](https://github.com/openrewrite/rewrite-hibernate/blob/main/) | [2.9.0](https://github.com/openrewrite/rewrite-hibernate/blob/main//releases/tag/v2.9.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-jackson](https://github.com/moderneinc/rewrite-jackson/blob/main/) | [0.20.0](https://github.com/moderneinc/rewrite-jackson/blob/main//releases/tag/v0.20.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-java-dependencies](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/) | [1.36.0](https://github.com/openrewrite/rewrite-java-dependencies/blob/main//releases/tag/v1.36.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-java-security](https://github.com/moderneinc/rewrite-java-security/blob/main/) | [3.13.0](https://github.com/moderneinc/rewrite-java-security/blob/main//releases/tag/v3.13.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-jenkins](https://github.com/openrewrite/rewrite-jenkins/blob/main/) | [0.27.0](https://github.com/openrewrite/rewrite-jenkins/blob/main//releases/tag/v0.27.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-kubernetes](https://github.com/moderneinc/rewrite-kubernetes/blob/main/) | [3.6.0](https://github.com/moderneinc/rewrite-kubernetes/blob/main//releases/tag/v3.6.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-liberty](https://github.com/openrewrite/rewrite-liberty/blob/main/) | [1.18.0](https://github.com/openrewrite/rewrite-liberty/blob/main//releases/tag/v1.18.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-logging-frameworks](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/) | [3.10.0](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main//releases/tag/v3.10.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-micrometer](https://github.com/openrewrite/rewrite-micrometer/blob/main/) | [0.22.0](https://github.com/openrewrite/rewrite-micrometer/blob/main//releases/tag/v0.22.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-micronaut](https://github.com/openrewrite/rewrite-micronaut/blob/main/) | [2.24.0](https://github.com/openrewrite/rewrite-micronaut/blob/main//releases/tag/v2.24.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-migrate-java](https://github.com/openrewrite/rewrite-migrate-java/blob/main/) | [3.12.0](https://github.com/openrewrite/rewrite-migrate-java/blob/main//releases/tag/v3.12.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-netty](https://github.com/openrewrite/rewrite-netty/blob/main/) | [0.1.1](https://github.com/openrewrite/rewrite-netty/blob/main//releases/tag/v0.1.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-nodejs](https://github.com/moderneinc/rewrite-nodejs/blob/main/) | [0.25.0](https://github.com/moderneinc/rewrite-nodejs/blob/main//releases/tag/v0.25.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-okhttp](https://github.com/openrewrite/rewrite-okhttp/blob/main/) | [0.16.0](https://github.com/openrewrite/rewrite-okhttp/blob/main//releases/tag/v0.16.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-openapi](https://github.com/openrewrite/rewrite-openapi/blob/main/) | [0.21.0](https://github.com/openrewrite/rewrite-openapi/blob/main//releases/tag/v0.21.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-quarkus](https://github.com/openrewrite/rewrite-quarkus/blob/main/) | [2.21.0](https://github.com/openrewrite/rewrite-quarkus/blob/main//releases/tag/v2.21.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | -| [org.openrewrite.recipe:rewrite-reactive-streams](https://github.com/moderneinc/rewrite-reactive-streams/blob/main/) | [0.14.0](https://github.com/moderneinc/rewrite-reactive-streams/blob/main//releases/tag/v0.14.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-rewrite](https://github.com/openrewrite/rewrite-rewrite/blob/main/) | [0.8.0](https://github.com/openrewrite/rewrite-rewrite/blob/main//releases/tag/v0.8.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-spring](https://github.com/openrewrite/rewrite-spring/blob/main/) | [6.9.0](https://github.com/openrewrite/rewrite-spring/blob/main//releases/tag/v6.9.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-sql](https://github.com/moderneinc/rewrite-sql/blob/main/) | [2.4.1](https://github.com/moderneinc/rewrite-sql/blob/main//releases/tag/v2.4.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-static-analysis](https://github.com/openrewrite/rewrite-static-analysis/blob/main/) | [2.11.0](https://github.com/openrewrite/rewrite-static-analysis/blob/main//releases/tag/v2.11.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-struts](https://github.com/openrewrite/rewrite-struts/blob/main/) | [0.17.0](https://github.com/openrewrite/rewrite-struts/blob/main//releases/tag/v0.17.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-terraform](https://github.com/moderneinc/rewrite-terraform/blob/main/) | [3.5.0](https://github.com/moderneinc/rewrite-terraform/blob/main//releases/tag/v3.5.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-testing-frameworks](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/) | [3.11.0](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main//releases/tag/v3.11.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | -| [org.openrewrite.recipe:rewrite-third-party](https://github.com/openrewrite/rewrite-third-party/blob/main/) | [0.23.0](https://github.com/openrewrite/rewrite-third-party/blob/main//releases/tag/v0.23.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [**org.openrewrite:rewrite-bom**](https://github.com/openrewrite/rewrite) | **[8.57.0](https://github.com/openrewrite/rewrite/releases/tag/v8.57.0)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [**org.openrewrite:rewrite-maven-plugin**](https://github.com/openrewrite/rewrite-maven-plugin) | **[6.13.0](https://github.com/openrewrite/rewrite-maven-plugin/releases/tag/v6.13.0)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [**org.openrewrite:rewrite-gradle-plugin**](https://github.com/openrewrite/rewrite-gradle-plugin) | **[7.10.0](https://github.com/openrewrite/rewrite-gradle-plugin/releases/tag/v7.10.0)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [**org.openrewrite.recipe:rewrite-recipe-bom**](https://github.com/openrewrite/rewrite-recipe-bom) | **[3.11.1](https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.11.1)** | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [**io.moderne.recipe:moderne-recipe-bom**](https://github.com/moderneinc/moderne-recipe-bom) | **[0.15.0](https://github.com/moderneinc/rewrite-recipe-bom/releases/tag/v0.15.0)** | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [io.moderne.recipe:rewrite-cryptography](https://github.com/moderneinc/rewrite-cryptography/blob/main/) | [0.5.0](https://github.com/moderneinc/rewrite-cryptography/blob/main//releases/tag/v0.5.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [io.moderne.recipe:rewrite-devcenter](https://github.com/moderneinc/rewrite-devcenter/blob/main/) | [1.4.5](https://github.com/moderneinc/rewrite-devcenter/blob/main//releases/tag/v1.4.5) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [io.moderne.recipe:rewrite-hibernate](https://github.com/moderneinc/rewrite-hibernate/blob/main/) | [0.7.0](https://github.com/moderneinc/rewrite-hibernate/blob/main//releases/tag/v0.7.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [io.moderne.recipe:rewrite-spring](https://github.com/moderneinc/rewrite-spring/blob/main/) | [0.9.0](https://github.com/moderneinc/rewrite-spring/blob/main//releases/tag/v0.9.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [io.moderne.recipe:rewrite-vulncheck](https://github.com/moderneinc/rewrite-vulncheck/blob/main/) | [0.4.0](https://github.com/moderneinc/rewrite-vulncheck/blob/main//releases/tag/v0.4.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite:rewrite-core](https://github.com/openrewrite/rewrite/blob/main/rewrite-core) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-gradle](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-groovy](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-hcl](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-java](https://github.com/openrewrite/rewrite/blob/main/rewrite-java) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-json](https://github.com/openrewrite/rewrite/blob/main/rewrite-json) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-kotlin](https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-maven](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-properties](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-protobuf](https://github.com/openrewrite/rewrite/blob/main/rewrite-protobuf) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-protobuf/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-toml](https://github.com/openrewrite/rewrite/blob/main/rewrite-toml) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-toml/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-xml](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite:rewrite-yaml](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml) | [8.57.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/releases/tag/v8.57.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.meta:rewrite-analysis](https://github.com/openrewrite/rewrite-analysis/blob/main/) | [2.24.0](https://github.com/openrewrite/rewrite-analysis/blob/main//releases/tag/v2.24.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-ai-search](https://github.com/moderneinc/rewrite-ai-search/blob/main/) | [0.28.1](https://github.com/moderneinc/rewrite-ai-search/blob/main//releases/tag/v0.28.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-all](https://github.com/openrewrite/rewrite-all/blob/main/) | [1.18.1](https://github.com/openrewrite/rewrite-all/blob/main//releases/tag/v1.18.1) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-android](https://github.com/moderneinc/rewrite-android/blob/main/) | [0.10.1](https://github.com/moderneinc/rewrite-android/blob/main//releases/tag/v0.10.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-apache](https://github.com/openrewrite/rewrite-apache/blob/main/) | [2.12.0](https://github.com/openrewrite/rewrite-apache/blob/main//releases/tag/v2.12.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-azul](https://github.com/moderneinc/rewrite-azul/blob/main/) | [0.3.1](https://github.com/moderneinc/rewrite-azul/blob/main//releases/tag/v0.3.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-circleci](https://github.com/moderneinc/rewrite-circleci/blob/main/) | [3.6.1](https://github.com/moderneinc/rewrite-circleci/blob/main//releases/tag/v3.6.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-codemods](https://github.com/moderneinc/rewrite-codemods/blob/main/) | [0.15.0](https://github.com/moderneinc/rewrite-codemods/blob/main//releases/tag/v0.15.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-codemods-ng](https://github.com/moderneinc/rewrite-codemods-ng/blob/main/) | [0.11.0](https://github.com/moderneinc/rewrite-codemods-ng/blob/main//releases/tag/v0.11.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-compiled-analysis](https://github.com/moderneinc/rewrite-compiled-analysis/blob/main/) | [0.7.1](https://github.com/moderneinc/rewrite-compiled-analysis/blob/main//releases/tag/v0.7.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-comprehension](https://github.com/moderneinc/rewrite-comprehension/blob/main/) | [0.7.1](https://github.com/moderneinc/rewrite-comprehension/blob/main//releases/tag/v0.7.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-concourse](https://github.com/moderneinc/rewrite-concourse/blob/main/) | [3.5.1](https://github.com/moderneinc/rewrite-concourse/blob/main//releases/tag/v3.5.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-cucumber-jvm](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/) | [2.8.1](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main//releases/tag/v2.8.1) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-docker](https://github.com/openrewrite/rewrite-docker/blob/main/) | [2.8.1](https://github.com/openrewrite/rewrite-docker/blob/main//releases/tag/v2.8.1) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-dotnet](https://github.com/moderneinc/rewrite-dotnet/blob/main/) | [0.11.1](https://github.com/moderneinc/rewrite-dotnet/blob/main//releases/tag/v0.11.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-dropwizard](https://github.com/openrewrite/rewrite-dropwizard/blob/main/) | [0.3.0](https://github.com/openrewrite/rewrite-dropwizard/blob/main//releases/tag/v0.3.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-feature-flags](https://github.com/openrewrite/rewrite-feature-flags/blob/main/) | [1.10.0](https://github.com/openrewrite/rewrite-feature-flags/blob/main//releases/tag/v1.10.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-github-actions](https://github.com/openrewrite/rewrite-github-actions/blob/main/) | [3.9.0](https://github.com/openrewrite/rewrite-github-actions/blob/main//releases/tag/v3.9.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-gitlab](https://github.com/openrewrite/rewrite-gitlab/blob/main/) | [0.14.1](https://github.com/openrewrite/rewrite-gitlab/blob/main//releases/tag/v0.14.1) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-hibernate](https://github.com/openrewrite/rewrite-hibernate/blob/main/) | [2.10.0](https://github.com/openrewrite/rewrite-hibernate/blob/main//releases/tag/v2.10.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-jackson](https://github.com/openrewrite/rewrite-jackson/blob/main/) | [1.0.0](https://github.com/openrewrite/rewrite-jackson/blob/main//releases/tag/v1.0.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-java-dependencies](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/) | [1.37.0](https://github.com/openrewrite/rewrite-java-dependencies/blob/main//releases/tag/v1.37.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-java-security](https://github.com/moderneinc/rewrite-java-security/blob/main/) | [3.14.0](https://github.com/moderneinc/rewrite-java-security/blob/main//releases/tag/v3.14.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-jenkins](https://github.com/openrewrite/rewrite-jenkins/blob/main/) | [0.28.0](https://github.com/openrewrite/rewrite-jenkins/blob/main//releases/tag/v0.28.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-kubernetes](https://github.com/moderneinc/rewrite-kubernetes/blob/main/) | [3.7.0](https://github.com/moderneinc/rewrite-kubernetes/blob/main//releases/tag/v3.7.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-liberty](https://github.com/openrewrite/rewrite-liberty/blob/main/) | [1.19.0](https://github.com/openrewrite/rewrite-liberty/blob/main//releases/tag/v1.19.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-logging-frameworks](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/) | [3.11.0](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main//releases/tag/v3.11.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-micrometer](https://github.com/openrewrite/rewrite-micrometer/blob/main/) | [0.23.0](https://github.com/openrewrite/rewrite-micrometer/blob/main//releases/tag/v0.23.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-micronaut](https://github.com/openrewrite/rewrite-micronaut/blob/main/) | [2.25.0](https://github.com/openrewrite/rewrite-micronaut/blob/main//releases/tag/v2.25.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-migrate-java](https://github.com/openrewrite/rewrite-migrate-java/blob/main/) | [3.13.0](https://github.com/openrewrite/rewrite-migrate-java/blob/main//releases/tag/v3.13.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-netty](https://github.com/openrewrite/rewrite-netty/blob/main/) | [0.1.2](https://github.com/openrewrite/rewrite-netty/blob/main//releases/tag/v0.1.2) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-nodejs](https://github.com/moderneinc/rewrite-nodejs/blob/main/) | [0.26.0](https://github.com/moderneinc/rewrite-nodejs/blob/main//releases/tag/v0.26.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-okhttp](https://github.com/openrewrite/rewrite-okhttp/blob/main/) | [0.17.0](https://github.com/openrewrite/rewrite-okhttp/blob/main//releases/tag/v0.17.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-openapi](https://github.com/openrewrite/rewrite-openapi/blob/main/) | [0.22.0](https://github.com/openrewrite/rewrite-openapi/blob/main//releases/tag/v0.22.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-quarkus](https://github.com/openrewrite/rewrite-quarkus/blob/main/) | [2.22.0](https://github.com/openrewrite/rewrite-quarkus/blob/main//releases/tag/v2.22.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [org.openrewrite.recipe:rewrite-reactive-streams](https://github.com/moderneinc/rewrite-reactive-streams/blob/main/) | [0.14.1](https://github.com/moderneinc/rewrite-reactive-streams/blob/main//releases/tag/v0.14.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-rewrite](https://github.com/openrewrite/rewrite-rewrite/blob/main/) | [0.9.0](https://github.com/openrewrite/rewrite-rewrite/blob/main//releases/tag/v0.9.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-spring](https://github.com/openrewrite/rewrite-spring/blob/main/) | [6.10.0](https://github.com/openrewrite/rewrite-spring/blob/main//releases/tag/v6.10.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-sql](https://github.com/moderneinc/rewrite-sql/blob/main/) | [2.5.0](https://github.com/moderneinc/rewrite-sql/blob/main//releases/tag/v2.5.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-static-analysis](https://github.com/openrewrite/rewrite-static-analysis/blob/main/) | [2.12.0](https://github.com/openrewrite/rewrite-static-analysis/blob/main//releases/tag/v2.12.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-struts](https://github.com/openrewrite/rewrite-struts/blob/main/) | [0.17.1](https://github.com/openrewrite/rewrite-struts/blob/main//releases/tag/v0.17.1) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-terraform](https://github.com/moderneinc/rewrite-terraform/blob/main/) | [3.5.1](https://github.com/moderneinc/rewrite-terraform/blob/main//releases/tag/v3.5.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [org.openrewrite.recipe:rewrite-testing-frameworks](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/) | [3.12.0](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main//releases/tag/v3.12.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite.recipe:rewrite-third-party](https://github.com/openrewrite/rewrite-third-party/blob/main/) | [0.24.0](https://github.com/openrewrite/rewrite-third-party/blob/main//releases/tag/v0.24.0) | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | ## CLI Installation Install the latest versions of all the OpenRewrite recipe modules into the Moderne CLI: ```bash -mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} io.moderne.recipe:rewrite-hibernate:{{VERSION_IO_MODERNE_RECIPE_REWRITE_HIBERNATE}} io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} io.moderne.recipe:rewrite-vulncheck:{{VERSION_IO_MODERNE_RECIPE_REWRITE_VULNCHECK}} org.openrewrite:rewrite-cobol:{{VERSION_ORG_OPENREWRITE_REWRITE_COBOL}} org.openrewrite:rewrite-core:{{VERSION_ORG_OPENREWRITE_REWRITE_CORE}} org.openrewrite:rewrite-csharp:{{VERSION_ORG_OPENREWRITE_REWRITE_CSHARP}} org.openrewrite:rewrite-gradle:{{VERSION_ORG_OPENREWRITE_REWRITE_GRADLE}} org.openrewrite:rewrite-groovy:{{VERSION_ORG_OPENREWRITE_REWRITE_GROOVY}} org.openrewrite:rewrite-hcl:{{VERSION_ORG_OPENREWRITE_REWRITE_HCL}} org.openrewrite:rewrite-java:{{VERSION_ORG_OPENREWRITE_REWRITE_JAVA}} org.openrewrite:rewrite-javascript:{{VERSION_ORG_OPENREWRITE_REWRITE_JAVASCRIPT}} org.openrewrite:rewrite-json:{{VERSION_ORG_OPENREWRITE_REWRITE_JSON}} org.openrewrite:rewrite-kotlin:{{VERSION_ORG_OPENREWRITE_REWRITE_KOTLIN}} org.openrewrite:rewrite-maven:{{VERSION_ORG_OPENREWRITE_REWRITE_MAVEN}} org.openrewrite:rewrite-polyglot:{{VERSION_ORG_OPENREWRITE_REWRITE_POLYGLOT}} org.openrewrite:rewrite-properties:{{VERSION_ORG_OPENREWRITE_REWRITE_PROPERTIES}} org.openrewrite:rewrite-protobuf:{{VERSION_ORG_OPENREWRITE_REWRITE_PROTOBUF}} org.openrewrite:rewrite-python:{{VERSION_ORG_OPENREWRITE_REWRITE_PYTHON}} org.openrewrite:rewrite-templating:{{VERSION_ORG_OPENREWRITE_REWRITE_TEMPLATING}} org.openrewrite:rewrite-toml:{{VERSION_ORG_OPENREWRITE_REWRITE_TOML}} org.openrewrite:rewrite-xml:{{VERSION_ORG_OPENREWRITE_REWRITE_XML}} org.openrewrite:rewrite-yaml:{{VERSION_ORG_OPENREWRITE_REWRITE_YAML}} org.openrewrite.meta:rewrite-analysis:{{VERSION_ORG_OPENREWRITE_META_REWRITE_ANALYSIS}} org.openrewrite.recipe:rewrite-ai-search:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_AI_SEARCH}} org.openrewrite.recipe:rewrite-all:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_ALL}} org.openrewrite.recipe:rewrite-android:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_ANDROID}} org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} org.openrewrite.recipe:rewrite-azul:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_AZUL}} org.openrewrite.recipe:rewrite-circleci:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CIRCLECI}} org.openrewrite.recipe:rewrite-codemods:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CODEMODS}} org.openrewrite.recipe:rewrite-codemods-ng:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CODEMODS_NG}} org.openrewrite.recipe:rewrite-compiled-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_COMPILED_ANALYSIS}} org.openrewrite.recipe:rewrite-comprehension:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_COMPREHENSION}} org.openrewrite.recipe:rewrite-concourse:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CONCOURSE}} org.openrewrite.recipe:rewrite-cucumber-jvm:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CUCUMBER_JVM}} org.openrewrite.recipe:rewrite-docker:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DOCKER}} org.openrewrite.recipe:rewrite-dotnet:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DOTNET}} org.openrewrite.recipe:rewrite-dropwizard:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DROPWIZARD}} org.openrewrite.recipe:rewrite-feature-flags:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_FEATURE_FLAGS}} org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} org.openrewrite.recipe:rewrite-gitlab:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITLAB}} org.openrewrite.recipe:rewrite-hibernate:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_HIBERNATE}} org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} org.openrewrite.recipe:rewrite-java-dependencies:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JAVA_DEPENDENCIES}} org.openrewrite.recipe:rewrite-java-security:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JAVA_SECURITY}} org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}} org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_KUBERNETES}} org.openrewrite.recipe:rewrite-liberty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LIBERTY}} org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} org.openrewrite.recipe:rewrite-micrometer:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MICROMETER}} org.openrewrite.recipe:rewrite-micronaut:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MICRONAUT}} org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} org.openrewrite.recipe:rewrite-nodejs:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NODEJS}} org.openrewrite.recipe:rewrite-okhttp:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OKHTTP}} org.openrewrite.recipe:rewrite-openapi:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OPENAPI}} org.openrewrite.recipe:rewrite-quarkus:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_QUARKUS}} org.openrewrite.recipe:rewrite-reactive-streams:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REACTIVE_STREAMS}} org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} org.openrewrite.recipe:rewrite-sql:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SQL}} org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}} org.openrewrite.recipe:rewrite-struts:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STRUTS}} org.openrewrite.recipe:rewrite-terraform:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TERRAFORM}} org.openrewrite.recipe:rewrite-testing-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TESTING_FRAMEWORKS}} org.openrewrite.recipe:rewrite-third-party:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_THIRD_PARTY}} +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} io.moderne.recipe:rewrite-hibernate:{{VERSION_IO_MODERNE_RECIPE_REWRITE_HIBERNATE}} io.moderne.recipe:rewrite-spring:{{VERSION_IO_MODERNE_RECIPE_REWRITE_SPRING}} io.moderne.recipe:rewrite-vulncheck:{{VERSION_IO_MODERNE_RECIPE_REWRITE_VULNCHECK}} org.openrewrite:rewrite-core:{{VERSION_ORG_OPENREWRITE_REWRITE_CORE}} org.openrewrite:rewrite-gradle:{{VERSION_ORG_OPENREWRITE_REWRITE_GRADLE}} org.openrewrite:rewrite-groovy:{{VERSION_ORG_OPENREWRITE_REWRITE_GROOVY}} org.openrewrite:rewrite-hcl:{{VERSION_ORG_OPENREWRITE_REWRITE_HCL}} org.openrewrite:rewrite-java:{{VERSION_ORG_OPENREWRITE_REWRITE_JAVA}} org.openrewrite:rewrite-json:{{VERSION_ORG_OPENREWRITE_REWRITE_JSON}} org.openrewrite:rewrite-kotlin:{{VERSION_ORG_OPENREWRITE_REWRITE_KOTLIN}} org.openrewrite:rewrite-maven:{{VERSION_ORG_OPENREWRITE_REWRITE_MAVEN}} org.openrewrite:rewrite-properties:{{VERSION_ORG_OPENREWRITE_REWRITE_PROPERTIES}} org.openrewrite:rewrite-protobuf:{{VERSION_ORG_OPENREWRITE_REWRITE_PROTOBUF}} org.openrewrite:rewrite-toml:{{VERSION_ORG_OPENREWRITE_REWRITE_TOML}} org.openrewrite:rewrite-xml:{{VERSION_ORG_OPENREWRITE_REWRITE_XML}} org.openrewrite:rewrite-yaml:{{VERSION_ORG_OPENREWRITE_REWRITE_YAML}} org.openrewrite.meta:rewrite-analysis:{{VERSION_ORG_OPENREWRITE_META_REWRITE_ANALYSIS}} org.openrewrite.recipe:rewrite-ai-search:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_AI_SEARCH}} org.openrewrite.recipe:rewrite-all:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_ALL}} org.openrewrite.recipe:rewrite-android:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_ANDROID}} org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} org.openrewrite.recipe:rewrite-azul:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_AZUL}} org.openrewrite.recipe:rewrite-circleci:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CIRCLECI}} org.openrewrite.recipe:rewrite-codemods:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CODEMODS}} org.openrewrite.recipe:rewrite-codemods-ng:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CODEMODS_NG}} org.openrewrite.recipe:rewrite-compiled-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_COMPILED_ANALYSIS}} org.openrewrite.recipe:rewrite-comprehension:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_COMPREHENSION}} org.openrewrite.recipe:rewrite-concourse:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CONCOURSE}} org.openrewrite.recipe:rewrite-cucumber-jvm:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_CUCUMBER_JVM}} org.openrewrite.recipe:rewrite-docker:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DOCKER}} org.openrewrite.recipe:rewrite-dotnet:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DOTNET}} org.openrewrite.recipe:rewrite-dropwizard:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DROPWIZARD}} org.openrewrite.recipe:rewrite-feature-flags:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_FEATURE_FLAGS}} org.openrewrite.recipe:rewrite-github-actions:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITHUB_ACTIONS}} org.openrewrite.recipe:rewrite-gitlab:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITLAB}} org.openrewrite.recipe:rewrite-hibernate:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_HIBERNATE}} org.openrewrite.recipe:rewrite-jackson:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JACKSON}} org.openrewrite.recipe:rewrite-java-dependencies:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JAVA_DEPENDENCIES}} org.openrewrite.recipe:rewrite-java-security:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JAVA_SECURITY}} org.openrewrite.recipe:rewrite-jenkins:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_JENKINS}} org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_KUBERNETES}} org.openrewrite.recipe:rewrite-liberty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LIBERTY}} org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} org.openrewrite.recipe:rewrite-micrometer:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MICROMETER}} org.openrewrite.recipe:rewrite-micronaut:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MICRONAUT}} org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}} org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} org.openrewrite.recipe:rewrite-nodejs:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NODEJS}} org.openrewrite.recipe:rewrite-okhttp:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OKHTTP}} org.openrewrite.recipe:rewrite-openapi:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OPENAPI}} org.openrewrite.recipe:rewrite-quarkus:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_QUARKUS}} org.openrewrite.recipe:rewrite-reactive-streams:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REACTIVE_STREAMS}} org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} org.openrewrite.recipe:rewrite-spring:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SPRING}} org.openrewrite.recipe:rewrite-sql:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_SQL}} org.openrewrite.recipe:rewrite-static-analysis:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STATIC_ANALYSIS}} org.openrewrite.recipe:rewrite-struts:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_STRUTS}} org.openrewrite.recipe:rewrite-terraform:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TERRAFORM}} org.openrewrite.recipe:rewrite-testing-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TESTING_FRAMEWORKS}} org.openrewrite.recipe:rewrite-third-party:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_THIRD_PARTY}} ``` ## Moderne Installation @@ -143,13 +137,6 @@ mutation seedOpenRewriteArtifacts { ) { id } - load_org_openrewrite_rewrite_cobol: loadRecipesAsync( - groupId: "org.openrewrite" - artifactId: "rewrite-cobol" - version: "LATEST" - ) { - id - } load_org_openrewrite_rewrite_core: loadRecipesAsync( groupId: "org.openrewrite" artifactId: "rewrite-core" @@ -157,13 +144,6 @@ mutation seedOpenRewriteArtifacts { ) { id } - load_org_openrewrite_rewrite_csharp: loadRecipesAsync( - groupId: "org.openrewrite" - artifactId: "rewrite-csharp" - version: "LATEST" - ) { - id - } load_org_openrewrite_rewrite_gradle: loadRecipesAsync( groupId: "org.openrewrite" artifactId: "rewrite-gradle" @@ -192,13 +172,6 @@ mutation seedOpenRewriteArtifacts { ) { id } - load_org_openrewrite_rewrite_javascript: loadRecipesAsync( - groupId: "org.openrewrite" - artifactId: "rewrite-javascript" - version: "LATEST" - ) { - id - } load_org_openrewrite_rewrite_json: loadRecipesAsync( groupId: "org.openrewrite" artifactId: "rewrite-json" @@ -220,13 +193,6 @@ mutation seedOpenRewriteArtifacts { ) { id } - load_org_openrewrite_rewrite_polyglot: loadRecipesAsync( - groupId: "org.openrewrite" - artifactId: "rewrite-polyglot" - version: "LATEST" - ) { - id - } load_org_openrewrite_rewrite_properties: loadRecipesAsync( groupId: "org.openrewrite" artifactId: "rewrite-properties" @@ -241,20 +207,6 @@ mutation seedOpenRewriteArtifacts { ) { id } - load_org_openrewrite_rewrite_python: loadRecipesAsync( - groupId: "org.openrewrite" - artifactId: "rewrite-python" - version: "LATEST" - ) { - id - } - load_org_openrewrite_rewrite_templating: loadRecipesAsync( - groupId: "org.openrewrite" - artifactId: "rewrite-templating" - version: "LATEST" - ) { - id - } load_org_openrewrite_rewrite_toml: loadRecipesAsync( groupId: "org.openrewrite" artifactId: "rewrite-toml" diff --git a/docs/reference/moderne-recipes.md b/docs/reference/moderne-recipes.md index d9aaacba87..b28e430681 100644 --- a/docs/reference/moderne-recipes.md +++ b/docs/reference/moderne-recipes.md @@ -90,6 +90,7 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full * [Find hardcoded protocol choice](../recipes/cryptography/findhardcodedprotocolchoice.md) * [Find hardcoded protocols on SSL socket creation](../recipes/cryptography/findhardcodedprotocolsonsslsocketcreation.md) * [Find hardcoded protocols on SSL sockets](../recipes/cryptography/findhardcodedprotocolsonsslsocketsetprotocols.md) +* [Find insecure `Security.setProperty` calls](../recipes/cryptography/findinsecuresecuritysetproperties.md) * [Find programmatic edits of `Security` provider list](../recipes/cryptography/findsecurityproviderediting.md) * [Find where `SSLContext` is set as system default](../recipes/cryptography/findsslcontextdefault.md) * [Hardcoded algorithm choice](../recipes/cryptography/findhardcodedalgorithmchoice.md) @@ -114,16 +115,6 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full * [Migrate to Hibernate 7.0.x](../recipes/hibernate/migratetohibernate70.md) * [Remove table from single table inherited entity](../recipes/hibernate/update66/removetablefrominheritedentity.md) -## rewrite-jackson - -* [Migrate classes from Jackson Codehaus (legacy) to Jackson FasterXML](../recipes/java/jackson/codehausclassestofasterxml.md) -* [Migrate dependencies from Jackson Codehaus (legacy) to FasterXML](../recipes/java/jackson/codehaus/codehausdependencytofasterxml.md) -* [Migrate from Jackson Codehaus (legacy) to Jackson FasterXML](../recipes/java/jackson/codehaustofasterxml.md) -* [Migrate serialization annotation processor](../recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md) -* [Migrate to Jackson `@JsonInclude`](../recipes/java/jackson/codehaus/jsonincludeannotation.md) -* [Remove Codehaus Jackson annotations if doubly annotated](../recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md) -* [Transfer @JsonSerialize arguments from Codehaus to FasterXML](../recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md) - ## rewrite-java-security * [Dependency insight for C#](../recipes/csharp/dependencies/dependencyinsight.md) @@ -290,6 +281,10 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full * [Change Deprecated Spring Cloud Gateway Artifacts](../recipes/java/spring/cloud2025/changedeprecatedartifacts.md) * [Comment deprecated methods in Spring 3.4](../recipes/java/spring/boot3/commentdeprecations.md) * [Comment on `@MockitoSpyBean` and `@MockitoBean` in `@Configuration`](../recipes/java/spring/boot3/commentonmockandspybeansinconfigspring34.md) +* [Delete empty `web.xml` files](../recipes/java/spring/framework/webxml/deleteemptywebxml.md) +* [Is likely a Spring Boot project](../recipes/java/spring/boot/islikelyspringboot.md) +* [Is likely a Spring Framework project](../recipes/java/spring/framework/islikelyspringframework.md) +* [Is likely not a Spring Boot project](../recipes/java/spring/boot/islikelynotspringboot.md) * [Migrate Spring Boot Management Endpoint Security properties to 3.4](../recipes/java/spring/boot3/springbootmanagementendpointproperties_3_4.md) * [Migrate Spring Boot properties to 3.4](../recipes/java/spring/boot3/springbootproperties_3_4.md) * [Migrate Spring Boot properties to 3.5](../recipes/java/spring/boot3/springbootproperties_3_5.md) @@ -299,14 +294,20 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full * [Migrate Spring Cloud properties to 2023](../recipes/java/spring/cloud2023/springcloudproperties_2023.md) * [Migrate Spring Cloud properties to 2024](../recipes/java/spring/cloud2024/springcloudproperties_2024.md) * [Migrate Spring Cloud properties to 2025](../recipes/java/spring/cloud2025/springcloudproperties_2025.md) +* [Migrate Spring Framework Dependencies to Spring Boot](../recipes/java/spring/boot/migratespringframeworkdependenciestospringboot.md) +* [Migrate Spring to Spring Boot](../recipes/java/spring/boot/springtospringboot.md) * [Migrate `@Endpoint`s `defaultAccess` value](../recipes/java/spring/boot3/migrateendpointannotationaccessvaluespring34.md) * [Migrate `ConditionalOnAvailableEndpoint` for Spring Boot 3.4](../recipes/java/spring/boot3/conditionalonavailableendpointmigrationspring34.md) +* [Migrate `web.xml` to Java Configuration](../recipes/spring/webxml/removewebxml.md) +* [Migrate `web.xml` using Jakarta EE](../recipes/spring/webxml/migratetojakartaeeservletconfiguration.md) +* [Migrate `web.xml` using Java EE](../recipes/spring/webxml/migratetojavaxservletconfiguration.md) * [Migrate management endpoint access value](../recipes/java/spring/boot3/migrateendpointaccessvaluespring34.md) -* [Migrate to Spring Boot 3.4](../recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md) +* [Migrate to Spring Boot 3.4](../recipes/java/spring/boot3/upgradespringboot_3_4.md) * [Migrate to Spring Boot 3.5](../recipes/java/spring/boot3/upgradespringboot_3_5.md) * [Migrate to Spring Cloud 2025](../recipes/java/spring/cloud2025/upgradespringcloud_2025.md) * [Migrate to Spring Kafka 3.3](../recipes/java/spring/boot3/upgradespringkafka_3_3.md) * [Migrate to Spring Security 6.4](../recipes/java/spring/security6/upgradespringsecurity_6_4.md) +* [Migrate ´web.xml` to `WebApplicationInitializer`](../recipes/java/spring/framework/webxml/webxmltowebapplicationinitializer.md) * [Remove `Replace.NONE` from `@AutoConfigureTestDatabase`](../recipes/java/spring/boot3/removereplacenonefromautoconfiguretestdatabase.md) * [Remove `TestRestTemplate.HttpClientOption.ENABLE_REDIRECTS` option](../recipes/java/spring/boot3/removetestresttemplateenableredirectsoptionrecipe.md) * [Replace `taskExecutor` with `applicationTaskExecutor`](../recipes/java/spring/boot3/resolvetaskexecutorfromcontext.md) diff --git a/docs/reference/recipes-with-data-tables.md b/docs/reference/recipes-with-data-tables.md index d13dc93af2..7c6df489d2 100644 --- a/docs/reference/recipes-with-data-tables.md +++ b/docs/reference/recipes-with-data-tables.md @@ -6,7 +6,18 @@ description: An autogenerated list of all recipes that contain a unique data tab _This doc contains all of the recipes with **unique** data tables that have been explicitly added by the recipe author. If a recipe contains only the default data tables, it won't be included in this list._ -### [Find SSL configuration](../recipes/cryptography/findsslconfiguration.md) +### [Find `Security.setProperty(..)` calls for certain properties](../cryptography/findsecuritysetproperties.md) + +_io.moderne.cryptography.FindSecuritySetProperties_ + +There is a defined set of properties that should not be set using `Security.setProperty(..)` as they can lead to security vulnerabilities. + +#### Data tables: + + * **io.moderne.cryptography.table.InsecureSetProperties**: *An itemization of the properties used in such calls* + + +### [Find SSL configuration](../cryptography/findsslconfiguration.md) _io.moderne.cryptography.FindSslConfiguration_ @@ -17,7 +28,7 @@ The configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS * **io.moderne.cryptography.table.SslConfiguration**: *Records configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS).* -### [Post quantum cryptography](../recipes/cryptography/postquantumcryptography.md) +### [Post quantum cryptography](../cryptography/postquantumcryptography.md) _io.moderne.cryptography.PostQuantumCryptography_ @@ -26,11 +37,12 @@ Locate cryptographic configuration which may need to be updated for a brave new #### Data tables: * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + * **io.moderne.cryptography.table.InsecureSetProperties**: *An itemization of the properties used in such calls* * **io.moderne.cryptography.table.SslConfiguration**: *Records configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS).* * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* -### [Find where `SSLContext` is set as system default](../recipes/cryptography/findsslcontextdefault.md) +### [Find where `SSLContext` is set as system default](../cryptography/findsslcontextdefault.md) _io.moderne.cryptography.FindSslContextDefault_ @@ -41,7 +53,7 @@ This includes anywhere where `SSLContext.setDefault` is called. * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* -### [Find programmatic edits of `Security` provider list](../recipes/cryptography/findsecurityproviderediting.md) +### [Find programmatic edits of `Security` provider list](../cryptography/findsecurityproviderediting.md) _io.moderne.cryptography.FindSecurityProviderEditing_ @@ -52,7 +64,18 @@ Locate programmatic edits of the `Security` provider list. * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* -### [Move to JUnit 5](../recipes/devcenter/junitjupiterupgrade.md) +### [Find insecure `Security.setProperty` calls](../cryptography/findinsecuresecuritysetproperties.md) + +_io.moderne.cryptography.FindInsecureSecuritySetProperties_ + +Locate calls to `Security.setProperty` that set insecure properties. + +#### Data tables: + + * **io.moderne.cryptography.table.InsecureSetProperties**: *An itemization of the properties used in such calls* + + +### [Move to JUnit 5](../devcenter/junitjupiterupgrade.md) _io.moderne.devcenter.JUnitJupiterUpgrade_ @@ -63,7 +86,7 @@ Move to JUnit Jupiter. * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* -### [Move to a later Java version](../recipes/devcenter/javaversionupgrade.md) +### [Move to a later Java version](../devcenter/javaversionupgrade.md) _io.moderne.devcenter.JavaVersionUpgrade_ @@ -74,7 +97,7 @@ Determine the current state of a repository relative to a desired Java version u * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* -### [Library upgrade](../recipes/devcenter/libraryupgrade.md) +### [Library upgrade](../devcenter/libraryupgrade.md) _io.moderne.devcenter.LibraryUpgrade_ @@ -85,7 +108,7 @@ Determine the current state of a repository relative to a desired library upgrad * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* -### [Parent POM upgrade](../recipes/devcenter/parentpomupgrade.md) +### [Parent POM upgrade](../devcenter/parentpomupgrade.md) _io.moderne.devcenter.ParentPomUpgrade_ @@ -96,7 +119,7 @@ Determine the current state of a repository relative to a desired parent POM upg * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* -### [Report as security issues](../recipes/devcenter/reportassecurityissues.md) +### [Report as security issues](../devcenter/reportassecurityissues.md) _io.moderne.devcenter.ReportAsSecurityIssues_ @@ -107,7 +130,7 @@ Look for results produced by recipes in the same recipe list that this recipe is * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* -### [DevCenter](../recipes/devcenter/devcenterstarter.md) +### [DevCenter](../devcenter/devcenterstarter.md) _io.moderne.devcenter.DevCenterStarter_ @@ -121,7 +144,7 @@ For more information on how to customize your DevCenter configuration, see the [ * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* -### [OWASP top ten](../recipes/devcenter/securitystarter.md) +### [OWASP top ten](../devcenter/securitystarter.md) _io.moderne.devcenter.SecurityStarter_ @@ -134,7 +157,7 @@ For more information on how to customize your DevCenter configuration, see the [ * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* -### [Original DevCenter security card](../recipes/devcenter/securityoriginalstarter.md) +### [Original DevCenter security card](../devcenter/securityoriginalstarter.md) _io.moderne.devcenter.SecurityOriginalStarter_ @@ -148,7 +171,7 @@ This is the same set of recipes as the original DevCenter security card. * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* -### [Find JPQL definitions](../recipes/hibernate/search/findjpqldefinitions.md) +### [Find JPQL definitions](../hibernate/search/findjpqldefinitions.md) _io.moderne.hibernate.search.FindJPQLDefinitions_ @@ -159,40 +182,40 @@ Find Java Persistence Query Language definitions in the codebase. * **io.moderne.hibernate.search.JPQLQueries**: *Shows matching JPQL queries.* -### [Migrate to Spring Boot 3.4](../recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md) +### [Spring Boot 3.5 best practices](../java/spring/boot3/springboot3bestpractices.md) -_io.moderne.java.spring.boot3.UpgradeSpringBoot_3_4_ +_io.moderne.java.spring.boot3.SpringBoot3BestPractices_ -Migrate applications to the latest Spring Boot 3.4 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.4. +Applies best practices to Spring Boot 3.5+ applications. #### Data tables: * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Migrate to Spring Boot 3.5](../recipes/java/spring/boot3/upgradespringboot_3_5.md) +### [Migrate to Spring Boot 3.4](../java/spring/boot3/upgradespringboot_3_4-moderne-edition.md) -_io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5_ +_io.moderne.java.spring.boot3.UpgradeSpringBoot_3_4_ -Migrate applications to the latest Spring Boot 3.5 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.5. +Migrate applications to the latest Spring Boot 3.4 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.4. #### Data tables: * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Spring Boot 3.5 best practices](../recipes/java/spring/boot3/springboot3bestpractices.md) +### [Migrate to Spring Boot 3.5](../java/spring/boot3/upgradespringboot_3_5.md) -_io.moderne.java.spring.boot3.SpringBoot3BestPractices_ +_io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5_ -Applies best practices to Spring Boot 3.5+ applications. +Migrate applications to the latest Spring Boot 3.5 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.5. #### Data tables: * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Use [VulnCheck Exploit Intelligence](https://docs.vulncheck.com/products/exploit-and-vulnerability-intelligence/exploit-intelligence) to fix vulnerabilities](../recipes/vulncheck/fixvulncheckvulnerabilities.md) +### [Use VulnCheck Exploit Intelligence to fix vulnerabilities](../vulncheck/fixvulncheckvulnerabilities.md) _io.moderne.vulncheck.FixVulnCheckVulnerabilities_ @@ -205,7 +228,7 @@ This software composition analysis (SCA) tool detects and upgrades dependencies * **io.moderne.vulncheck.table.VulnerabilityReportWithExploits**: *A vulnerability report that includes detailed information about the affected artifact and the corresponding CVEs and enriched by VulnCheck exploit data.* -### [Find colliding source files](../recipes/core/findcollidingsourcefiles.md) +### [Find colliding source files](../core/findcollidingsourcefiles.md) _org.openrewrite.FindCollidingSourceFiles_ @@ -216,7 +239,7 @@ Finds source files which share a path with another source file. There should alw * **org.openrewrite.table.CollidingSourceFiles**: *Source files that have the same relative path.* -### [Find deserialization errors](../recipes/core/finddeserializationerrors.md) +### [Find deserialization errors](../core/finddeserializationerrors.md) _org.openrewrite.FindDeserializationErrors_ @@ -227,7 +250,7 @@ Produces a data table collecting all deserialization errors of serialized LSTs. * **org.openrewrite.table.DeserializationErrorTable**: *Table collecting any LST deserialization errors.* -### [Show Git source control metadata](../recipes/core/findgitprovenance.md) +### [Show Git source control metadata](../core/findgitprovenance.md) _org.openrewrite.FindGitProvenance_ @@ -238,7 +261,7 @@ List out the contents of each unique `GitProvenance` marker in the set of source * **org.openrewrite.table.DistinctGitProvenance**: *List out the contents of each unique `GitProvenance` marker in the set of source files. When everything is working correctly, exactly one such marker should be printed as all source files are expected to come from the same repository / branch / commit hash.* -### [Find LST provenance](../recipes/core/findlstprovenance.md) +### [Find LST provenance](../core/findlstprovenance.md) _org.openrewrite.FindLstProvenance_ @@ -249,7 +272,7 @@ Produces a data table showing what versions of OpenRewrite/Moderne tooling was u * **org.openrewrite.table.LstProvenanceTable**: *Table showing which tools were used to produce LSTs.* -### [Find source files with `ParseExceptionResult` markers](../recipes/core/findparsefailures.md) +### [Find source files with `ParseExceptionResult` markers](../core/findparsefailures.md) _org.openrewrite.FindParseFailures_ @@ -260,7 +283,7 @@ This recipe explores parse failures after an LST is produced for classifying the * **org.openrewrite.table.ParseFailures**: *A list of files that failed to parse along with stack traces of their failures.* -### [Find files](../recipes/core/findsourcefiles.md) +### [Find files](../core/findsourcefiles.md) _org.openrewrite.FindSourceFiles_ @@ -271,7 +294,7 @@ Find files by source path. Paths are always interpreted as relative to the repos * **org.openrewrite.table.SourcesFiles**: *Source files that matched some criteria.* -### [List runtime classpath](../recipes/core/listruntimeclasspath.md) +### [List runtime classpath](../core/listruntimeclasspath.md) _org.openrewrite.ListRuntimeClasspath_ @@ -282,7 +305,7 @@ A diagnostic utility which emits the runtime classpath to a data table. * **org.openrewrite.table.ClasspathReport**: *Contains a report of the runtime classpath and any other jars found inside each classpath entry.* -### [Find committers on repositories](../recipes/search/findcommitters.md) +### [Find committers on repositories](../search/findcommitters.md) _org.openrewrite.search.FindCommitters_ @@ -294,7 +317,7 @@ List the committers on a repository. * **org.openrewrite.table.CommitsByDay**: *The commit activity by day by committer.* -### [Find parse to print inequality](../recipes/search/findparsetoprintinequality.md) +### [Find parse to print inequality](../search/findparsetoprintinequality.md) _org.openrewrite.search.FindParseToPrintInequality_ @@ -305,7 +328,7 @@ OpenRewrite `Parser` implementations should produce `SourceFile` objects whose ` * **org.openrewrite.table.ParseToPrintInequalities**: *A list of files that parsers produced `SourceFile` which, when printed, didn't match the original source code.* -### [Find text](../recipes/text/find.md) +### [Find text](../text/find.md) _org.openrewrite.text.Find_ @@ -316,7 +339,7 @@ Textual search, optionally using Regular Expression (regex) to query. * **org.openrewrite.table.TextMatches**: *Lines matching simple text search.* -### [Change Gradle dependency](../recipes/gradle/changedependency.md) +### [Change Gradle dependency](../gradle/changedependency.md) _org.openrewrite.gradle.ChangeDependency_ @@ -325,10 +348,9 @@ Change a Gradle dependency coordinates. The `newGroupId` or `newArtifactId` **MU #### Data tables: * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* - * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Add the Develocity Gradle plugin](../recipes/gradle/plugins/adddevelocitygradleplugin.md) +### [Add the Develocity Gradle plugin](../gradle/plugins/adddevelocitygradleplugin.md) _org.openrewrite.gradle.plugins.AddDevelocityGradlePlugin_ @@ -339,7 +361,7 @@ Add the Develocity Gradle plugin to settings.gradle files. * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Change a Gradle plugin](../recipes/gradle/plugins/changeplugin.md) +### [Change a Gradle plugin](../gradle/plugins/changeplugin.md) _org.openrewrite.gradle.plugins.ChangePlugin_ @@ -350,7 +372,7 @@ Changes the selected Gradle plugin to the new plugin. * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Change a Gradle plugin version by id](../recipes/gradle/plugins/changepluginversion.md) +### [Change a Gradle plugin version by id](../gradle/plugins/changepluginversion.md) _org.openrewrite.gradle.plugins.ChangePluginVersion_ @@ -361,7 +383,7 @@ Change a Gradle plugin by id to a later version. * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Migrate from Gradle Enterprise to Develocity](../recipes/gradle/plugins/migrategradleenterprisetodevelocity.md) +### [Migrate from Gradle Enterprise to Develocity](../gradle/plugins/migrategradleenterprisetodevelocity.md) _org.openrewrite.gradle.plugins.MigrateGradleEnterpriseToDevelocity_ @@ -372,7 +394,7 @@ Migrate from the Gradle Enterprise Gradle plugin to the Develocity Gradle plugin * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Gradle dependency insight](../recipes/gradle/search/dependencyinsight.md) +### [Gradle dependency insight](../gradle/search/dependencyinsight.md) _org.openrewrite.gradle.search.DependencyInsight_ @@ -383,7 +405,7 @@ Find direct and transitive dependencies matching a group, artifact, and optional * **org.openrewrite.maven.table.DependenciesInUse**: *Direct and transitive dependencies in use.* -### [Find Gradle wrappers](../recipes/gradle/search/findgradlewrapper.md) +### [Find Gradle wrappers](../gradle/search/findgradlewrapper.md) _org.openrewrite.gradle.search.FindGradleWrapper_ @@ -394,7 +416,7 @@ Find Gradle wrappers. * **org.openrewrite.gradle.table.GradleWrappersInUse**: *Gradle wrappers in use.* -### [Find Gradle JVMTestSuite plugin configuration](../recipes/gradle/search/findjvmtestsuites.md) +### [Find Gradle JVMTestSuite plugin configuration](../gradle/search/findjvmtestsuites.md) _org.openrewrite.gradle.search.FindJVMTestSuites_ @@ -405,7 +427,7 @@ Find Gradle JVMTestSuite plugin configurations and produce a data table. * **org.openrewrite.gradle.table.JVMTestSuitesDefined**: *The Gradle `JVMTestSuites` that are configured in a build.* -### [Add Gradle dependency](../recipes/gradle/adddependency.md) +### [Add Gradle dependency](../gradle/adddependency.md) _org.openrewrite.gradle.AddDependency_ @@ -416,7 +438,7 @@ Add a gradle dependency to a `build.gradle` file in the correct configuration ba * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Add Gradle platform dependency](../recipes/gradle/addplatformdependency.md) +### [Add Gradle platform dependency](../gradle/addplatformdependency.md) _org.openrewrite.gradle.AddPlatformDependency_ @@ -427,7 +449,7 @@ Add a gradle platform dependency to a `build.gradle` file in the correct configu * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Upgrade Gradle dependency versions](../recipes/gradle/upgradedependencyversion.md) +### [Upgrade Gradle dependency versions](../gradle/upgradedependencyversion.md) _org.openrewrite.gradle.UpgradeDependencyVersion_ @@ -441,7 +463,7 @@ Can update version numbers which are defined earlier in the same file in variabl * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Upgrade transitive Gradle dependencies](../recipes/gradle/upgradetransitivedependencyversion.md) +### [Upgrade transitive Gradle dependencies](../gradle/upgradetransitivedependencyversion.md) _org.openrewrite.gradle.UpgradeTransitiveDependencyVersion_ @@ -452,7 +474,7 @@ Upgrades the version of a transitive dependency in a Gradle build file. There ar * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Update a Gradle plugin by id](../recipes/gradle/plugins/upgradepluginversion.md) +### [Update a Gradle plugin by id](../gradle/plugins/upgradepluginversion.md) _org.openrewrite.gradle.plugins.UpgradePluginVersion_ @@ -463,7 +485,7 @@ Update a Gradle plugin by id to a later version. * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Migrate to Gradle 8 from Gradle 7](../recipes/gradle/migratetogradle8.md) +### [Migrate to Gradle 8 from Gradle 7](../gradle/migratetogradle8.md) _org.openrewrite.gradle.MigrateToGradle8_ @@ -474,7 +496,7 @@ Migrate to version 8.x. See the Gradle upgrade guide from [version 7.x to 8.0](h * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Add JUnit Platform Launcher](../recipes/gradle/addjunitplatformlauncher.md) +### [Add JUnit Platform Launcher](../gradle/addjunitplatformlauncher.md) _org.openrewrite.gradle.AddJUnitPlatformLauncher_ @@ -485,7 +507,18 @@ Add the JUnit Platform Launcher to the buildscript dependencies. * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Find Gradle `dependencies` blocks](../recipes/gradle/search/finddependencyhandler.md) +### [Apply Gradle best practices](../gradle/gradlebestpractices.md) + +_org.openrewrite.gradle.GradleBestPractices_ + +Apply a set of [Gradle best practices](https://docs.gradle.org/current/userguide/best_practices_general.html) to the build files, for more efficient and ideomatic builds. + +#### Data tables: + + * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* + + +### [Find Gradle `dependencies` blocks](../gradle/search/finddependencyhandler.md) _org.openrewrite.gradle.search.FindDependencyHandler_ @@ -496,7 +529,7 @@ Find the dependency handler containing any number of dependency definitions. * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* -### [Calculate token length of classes](../recipes/java/ai/classdefinitionlength.md) +### [Calculate token length of classes](../java/ai/classdefinitionlength.md) _org.openrewrite.java.ai.ClassDefinitionLength_ @@ -507,7 +540,7 @@ Locates class definitions and predicts the number of token in each. * **org.openrewrite.java.table.TokenCount**: *The number of tokens from a code snippet* -### [Calculate token length of method definitions](../recipes/java/ai/methoddefinitionlength.md) +### [Calculate token length of method definitions](../java/ai/methoddefinitionlength.md) _org.openrewrite.java.ai.MethodDefinitionLength_ @@ -518,7 +551,7 @@ Locates method definitions and predicts the number of token in each. * **org.openrewrite.java.table.TokenCount**: *The number of tokens from a code snippet* -### [Find class hierarchy](../recipes/java/search/findclasshierarchy.md) +### [Find class hierarchy](../java/search/findclasshierarchy.md) _org.openrewrite.java.search.FindClassHierarchy_ @@ -529,7 +562,7 @@ Discovers all class declarations within a project, recording which files they ap * **org.openrewrite.java.table.ClassHierarchy**: *Record the classes* -### [Find compile errors](../recipes/java/search/findcompileerrors.md) +### [Find compile errors](../java/search/findcompileerrors.md) _org.openrewrite.java.search.FindCompileErrors_ @@ -540,7 +573,7 @@ Compile errors result in a particular LST structure that can be searched for. * **org.openrewrite.java.table.CompileErrors**: *The source code of compile errors.* -### [Find uses of deprecated methods](../recipes/java/search/finddeprecatedmethods.md) +### [Find uses of deprecated methods](../java/search/finddeprecatedmethods.md) _org.openrewrite.java.search.FindDeprecatedMethods_ @@ -551,7 +584,7 @@ Find uses of deprecated methods in any API. * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* -### [Find fields of type](../recipes/java/search/findfieldsoftype.md) +### [Find fields of type](../java/search/findfieldsoftype.md) _org.openrewrite.java.search.FindFieldsOfType_ @@ -562,7 +595,7 @@ Finds declared fields matching a particular class name. * **org.openrewrite.java.table.FieldsOfTypeUses**: *Information about fields that match a specific type.* -### [Find method usages](../recipes/java/search/findmethods.md) +### [Find method usages](../java/search/findmethods.md) _org.openrewrite.java.search.FindMethods_ @@ -573,7 +606,7 @@ Find method calls by pattern. * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* -### [Find types](../recipes/java/search/findtypes.md) +### [Find types](../java/search/findtypes.md) _org.openrewrite.java.search.FindTypes_ @@ -584,7 +617,7 @@ Find type references by name. * **org.openrewrite.java.table.TypeUses**: *The source code of matching type uses.* -### [Study the size of the classpath by source set](../recipes/java/search/classpathtypecounts.md) +### [Study the size of the classpath by source set](../java/search/classpathtypecounts.md) _org.openrewrite.java.search.ClasspathTypeCounts_ @@ -595,7 +628,7 @@ Emit one data table row per source set in a project, with the number of types in * **org.openrewrite.java.table.ClasspathTypeCount**: *The number of types in each source set in a project's classpath.* -### [Find type mappings](../recipes/java/search/findtypemappings.md) +### [Find type mappings](../java/search/findtypemappings.md) _org.openrewrite.java.search.FindTypeMappings_ @@ -606,7 +639,7 @@ Study the frequency of `J` types and their `JavaType` type attribution. * **org.openrewrite.java.table.TypeMappings**: *The types mapped to `J` trees.* -### [Find Kotlin sources and collect data metrics](../recipes/kotlin/findkotlinsources.md) +### [Find Kotlin sources and collect data metrics](../kotlin/findkotlinsources.md) _org.openrewrite.kotlin.FindKotlinSources_ @@ -617,7 +650,7 @@ Use data table to collect source files types and counts of files with extensions * **org.openrewrite.kotlin.table.KotlinSourceFile**: *Kotlin sources present in LSTs on the SAAS.* -### [Add Maven parent](../recipes/maven/addparentpom.md) +### [Add Maven parent](../maven/addparentpom.md) _org.openrewrite.maven.AddParentPom_ @@ -628,7 +661,7 @@ Add a parent pom to a Maven pom.xml. Does nothing if a parent pom is already pre * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Change Maven dependency](../recipes/maven/changedependencygroupidandartifactid.md) +### [Change Maven dependency](../maven/changedependencygroupidandartifactid.md) _org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId_ @@ -639,7 +672,7 @@ Change a Maven dependency coordinates. The `newGroupId` or `newArtifactId` **MUS * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Change Maven managed dependency groupId, artifactId and optionally the version](../recipes/maven/changemanageddependencygroupidandartifactid.md) +### [Change Maven managed dependency groupId, artifactId and optionally the version](../maven/changemanageddependencygroupidandartifactid.md) _org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId_ @@ -650,7 +683,7 @@ Change the groupId, artifactId and optionally the version of a specified Maven m * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Change Maven parent](../recipes/maven/changeparentpom.md) +### [Change Maven parent](../maven/changeparentpom.md) _org.openrewrite.maven.ChangeParentPom_ @@ -661,7 +694,7 @@ Change the parent pom of a Maven pom.xml by matching the existing parent via gro * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Change Maven plugin group and artifact ID](../recipes/maven/changeplugingroupidandartifactid.md) +### [Change Maven plugin group and artifact ID](../maven/changeplugingroupidandartifactid.md) _org.openrewrite.maven.ChangePluginGroupIdAndArtifactId_ @@ -672,7 +705,7 @@ Change the groupId and/or the artifactId of a specified Maven plugin. Optionally * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Upgrade Maven plugin version](../recipes/maven/upgradepluginversion.md) +### [Upgrade Maven plugin version](../maven/upgradepluginversion.md) _org.openrewrite.maven.UpgradePluginVersion_ @@ -683,7 +716,7 @@ Upgrade the version of a plugin using Node Semver advanced range selectors, allo * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Maven dependency insight](../recipes/maven/search/dependencyinsight.md) +### [Maven dependency insight](../maven/search/dependencyinsight.md) _org.openrewrite.maven.search.DependencyInsight_ @@ -694,7 +727,7 @@ Find direct and transitive dependencies matching a group, artifact, and scope. R * **org.openrewrite.maven.table.DependenciesInUse**: *Direct and transitive dependencies in use.* -### [Effective dependencies](../recipes/maven/search/effectivedependencies.md) +### [Effective dependencies](../maven/search/effectivedependencies.md) _org.openrewrite.maven.search.EffectiveDependencies_ @@ -705,7 +738,7 @@ Emit the data of binary dependency relationships. * **org.openrewrite.maven.table.DependencyGraph**: *Relationships between dependencies.* -### [Effective managed dependencies](../recipes/maven/search/effectivemanageddependencies.md) +### [Effective managed dependencies](../maven/search/effectivemanageddependencies.md) _org.openrewrite.maven.search.EffectiveManagedDependencies_ @@ -716,7 +749,7 @@ Emit the data of binary dependency relationships. * **org.openrewrite.maven.table.ManagedDependencyGraph**: *Relationships between POMs and their ancestors that define managed dependencies.* -### [List effective Maven repositories](../recipes/maven/search/effectivemavenrepositories.md) +### [List effective Maven repositories](../maven/search/effectivemavenrepositories.md) _org.openrewrite.maven.search.EffectiveMavenRepositories_ @@ -727,7 +760,7 @@ Lists the Maven repositories that would be used for dependency resolution, in or * **org.openrewrite.maven.search.EffectiveMavenRepositoriesTable**: *Table showing which Maven repositories were used in dependency resolution for this POM.* -### [Find effective maven settings](../recipes/maven/search/findmavensettings.md) +### [Find effective maven settings](../maven/search/findmavensettings.md) _org.openrewrite.maven.search.FindMavenSettings_ @@ -738,7 +771,7 @@ List the effective maven settings file for the current project. * **org.openrewrite.maven.table.EffectiveMavenSettings**: *The maven settings file used by each pom.* -### [Find Maven project properties](../recipes/maven/search/findproperties.md) +### [Find Maven project properties](../maven/search/findproperties.md) _org.openrewrite.maven.search.FindProperties_ @@ -749,7 +782,7 @@ Finds the specified Maven project properties within a pom.xml. * **org.openrewrite.maven.table.MavenProperties**: *Property and value.* -### [Maven repository order](../recipes/maven/search/findrepositoryorder.md) +### [Maven repository order](../maven/search/findrepositoryorder.md) _org.openrewrite.maven.search.FindRepositoryOrder_ @@ -760,7 +793,7 @@ Determine the order in which dependencies will be resolved for each `pom.xml` ba * **org.openrewrite.maven.table.MavenRepositoryOrder**: *The order in which dependencies will be resolved for each `pom.xml` based on its defined repositories and effective `settings.xml`.* -### [Maven parent insight](../recipes/maven/search/parentpominsight.md) +### [Maven parent insight](../maven/search/parentpominsight.md) _org.openrewrite.maven.search.ParentPomInsight_ @@ -771,7 +804,7 @@ Find Maven parents matching a `groupId` and `artifactId`. * **org.openrewrite.maven.table.ParentPomsInUse**: *Projects, GAVs and relativePaths for Maven parent POMs in use.* -### [Add Maven dependency](../recipes/maven/adddependency.md) +### [Add Maven dependency](../maven/adddependency.md) _org.openrewrite.maven.AddDependency_ @@ -782,7 +815,7 @@ Add a Maven dependency to a `pom.xml` file in the correct scope based on where i * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Add managed Maven dependency](../recipes/maven/addmanageddependency.md) +### [Add managed Maven dependency](../maven/addmanageddependency.md) _org.openrewrite.maven.AddManagedDependency_ @@ -793,7 +826,7 @@ Add a managed Maven dependency to a `pom.xml` file. * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Upgrade Maven dependency version](../recipes/maven/upgradedependencyversion.md) +### [Upgrade Maven dependency version](../maven/upgradedependencyversion.md) _org.openrewrite.maven.UpgradeDependencyVersion_ @@ -804,7 +837,7 @@ Upgrade the version of a dependency by specifying a group and (optionally) an ar * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [Upgrade transitive Maven dependencies](../recipes/maven/upgradetransitivedependencyversion.md) +### [Upgrade transitive Maven dependencies](../maven/upgradetransitivedependencyversion.md) _org.openrewrite.maven.UpgradeTransitiveDependencyVersion_ @@ -815,7 +848,7 @@ Upgrades the version of a transitive dependency in a Maven pom file. Leaves dire * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* -### [XML style Auto-detection debug](../recipes/xml/style/autodetectdebug.md) +### [XML style Auto-detection debug](../xml/style/autodetectdebug.md) _org.openrewrite.xml.style.AutodetectDebug_ @@ -826,7 +859,7 @@ Runs XML Autodetect and records the results in data tables and search markers. A * **org.openrewrite.xml.table.XmlStyleReport**: *Records style information about XML documents. Used for debugging style auto-detection issues.* -### [Find method usages](../recipes/analysis/search/findmethods.md) +### [Find method usages](../analysis/search/findmethods.md) _org.openrewrite.analysis.search.FindMethods_ @@ -837,7 +870,7 @@ Find method usages by pattern. * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* -### [Find comments' language distribution](../recipes/ai/findcommentslanguage.md) +### [Find comments' language distribution](../ai/findcommentslanguage.md) _io.moderne.ai.FindCommentsLanguage_ @@ -848,7 +881,7 @@ Finds all comments and uses AI to predict which language the comment is in. * **io.moderne.ai.table.LanguageDistribution**: *Shows the distribution of language in comments* -### [List all methods used](../recipes/ai/listallmethodsused.md) +### [List all methods used](../ai/listallmethodsused.md) _io.moderne.ai.ListAllMethodsUsed_ @@ -859,7 +892,7 @@ List all methods used in any Java source file. * **io.moderne.ai.table.MethodInUse**: *Methods used in any Java source file.* -### [Get embeddings for code snippets in code](../recipes/ai/research/getcodeembedding.md) +### [Get embeddings for code snippets in code](../ai/research/getcodeembedding.md) _io.moderne.ai.research.GetCodeEmbedding_ @@ -870,7 +903,7 @@ This recipe calls an AI model to get an embedding for either classes or methods * **io.moderne.ai.table.Embeddings**: *Collects the embeddings for either each classes or methods.* -### [Find method invocations that resemble a pattern](../recipes/ai/research/findcodethatresembles.md) +### [Find method invocations that resemble a pattern](../ai/research/findcodethatresembles.md) _io.moderne.ai.research.FindCodeThatResembles_ @@ -885,7 +918,7 @@ This recipe uses two phase AI approach to find a method invocation that resemble * **io.moderne.ai.table.SuggestedMethodPatterns**: *As the next step after the AI-based searching for method invocations, you may want to do rule-based method searching using the recommended method patterns.* -### [Get recommendations](../recipes/ai/research/getrecommendations.md) +### [Get recommendations](../ai/research/getrecommendations.md) _io.moderne.ai.research.GetRecommendations_ @@ -896,7 +929,7 @@ This recipe calls an AI model to get recommendations for modernizing the code ba * **io.moderne.ai.table.Recommendations**: *Collects the recommendations based on sampled methods.* -### [Find call graph](../recipes/core/findcallgraph.md) +### [Find call graph](../core/findcallgraph.md) _org.openrewrite.FindCallGraph_ @@ -907,7 +940,7 @@ Produces a data table where each row represents a method call. * **org.openrewrite.table.CallGraph**: *Records method callers and the methods they invoke.* -### [Find duplicate source files](../recipes/core/findduplicatesourcefiles.md) +### [Find duplicate source files](../core/findduplicatesourcefiles.md) _org.openrewrite.FindDuplicateSourceFiles_ @@ -918,7 +951,7 @@ Record the presence of LSTs with duplicate paths, indicating that the same file * **org.openrewrite.table.DuplicateSourceFiles**: *A list of source files that occur more than once in an LST.* -### [Language composition report](../recipes/core/languagecomposition.md) +### [Language composition report](../core/languagecomposition.md) _org.openrewrite.LanguageComposition_ @@ -931,7 +964,7 @@ Counts the number of lines of the various kinds of source code and data formats * **org.openrewrite.table.LanguageCompositionPerFile**: *A list of individual files and their language composition.* -### [Eliminate unused classes](../recipes/azul/eliminateunusedclasses.md) +### [Eliminate unused classes](../azul/eliminateunusedclasses.md) _io.moderne.azul.EliminateUnusedClasses_ @@ -942,7 +975,7 @@ Deprecate and later delete classes that are unused, as detected by Azul Intellig * **io.moderne.azul.table.ReachableClasses**: *Classes in a repository's source code that are reachable. This data table does not contain information about reachability in libraries.* -### [Find reachable methods](../recipes/azul/search/findreachablemethods.md) +### [Find reachable methods](../azul/search/findreachablemethods.md) _io.moderne.azul.search.FindReachableMethods_ @@ -954,7 +987,7 @@ Find all methods defined in the repository's source code that are reachable. * **io.moderne.azul.table.UnmatchedReachableMethods**: *Methods that exist in a reachability dataset but didn't match repository source code.* -### [Lint source code with ESLint](../recipes/codemods/eslint.md) +### [Lint source code with ESLint](../codemods/eslint.md) _org.openrewrite.codemods.ESLint_ @@ -967,7 +1000,7 @@ This requires the code to have an existing ESLint configuration. * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Lint UI5 projects with UI5 linter](../recipes/codemods/ui5.md) +### [Lint UI5 projects with UI5 linter](../codemods/ui5.md) _org.openrewrite.codemods.UI5_ @@ -978,11 +1011,11 @@ Runs the [UI5 Linter](https://github.com/SAP/ui5-linter), a static code analysis * **org.openrewrite.codemods.UI5Messages**: *Errors and warnings as reported by UI5.* -### [Lint TypeScript code using ESLint](../recipes/codemods/ecmascript/eslinttypescriptdefaults.md) +### [Recommended Jest code cleanup](../codemods/cleanup/jest/recommendedjestcodecleanup.md) -_org.openrewrite.codemods.ecmascript.ESLintTypeScriptDefaults_ +_org.openrewrite.codemods.cleanup.jest.RecommendedJestCodeCleanup_ -The default config includes the `@typescript-eslint` plugin and the corresponding `plugin:@typescript-eslint/recommended` extend. +Collection of cleanup ESLint rules that are recommended by [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest). #### Data tables: @@ -990,11 +1023,12 @@ The default config includes the `@typescript-eslint` plugin and the correspondin * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Format TypeScript using ESLint Prettier plugin](../recipes/codemods/ecmascript/eslinttypescriptprettier.md) +### [Disallow use of deprecated functions from before version 27](../codemods/cleanup/jest/nodeprecatedfunctions27.md) -_org.openrewrite.codemods.ecmascript.ESLintTypeScriptPrettier_ +_org.openrewrite.codemods.cleanup.jest.NoDeprecatedFunctions27_ -Formats all TypeScript source code using the ESLint Prettier plugin. +Disallow use of deprecated functions from before version 27 +See rule details for [jest/no-deprecated-functions](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/no-deprecated-functions.md) #### Data tables: @@ -1002,12 +1036,12 @@ Formats all TypeScript source code using the ESLint Prettier plugin. * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require braces around arrow function bodies](../recipes/codemods/cleanup/javascript/arrowbodystyle.md) +### [Enforce test and it usage conventions](../codemods/cleanup/jest/consistenttestit.md) -_org.openrewrite.codemods.cleanup.javascript.ArrowBodyStyle_ +_org.openrewrite.codemods.cleanup.jest.ConsistentTestIt_ -Require braces around arrow function bodies -See [rule details](https://eslint.org/docs/latest/rules/arrow-body-style) +Enforce test and it usage conventions +See rule details for [jest/consistent-test-it](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/consistent-test-it.md) #### Data tables: @@ -1015,12 +1049,12 @@ See [rule details](https://eslint.org/docs/latest/rules/arrow-body-style) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce or disallow capitalization of the first letter of a comment](../recipes/codemods/cleanup/javascript/capitalizedcomments.md) +### [Disallow alias methods](../codemods/cleanup/jest/noaliasmethods.md) -_org.openrewrite.codemods.cleanup.javascript.CapitalizedComments_ +_org.openrewrite.codemods.cleanup.jest.NoAliasMethods_ -Enforce or disallow capitalization of the first letter of a comment -See [rule details](https://eslint.org/docs/latest/rules/capitalized-comments) +Disallow alias methods +See rule details for [jest/no-alias-methods](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/no-alias-methods.md) #### Data tables: @@ -1028,12 +1062,12 @@ See [rule details](https://eslint.org/docs/latest/rules/capitalized-comments) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce consistent brace style for all control statements](../recipes/codemods/cleanup/javascript/curly.md) +### [Disallow Jasmine globals](../codemods/cleanup/jest/nojasmineglobals.md) -_org.openrewrite.codemods.cleanup.javascript.Curly_ +_org.openrewrite.codemods.cleanup.jest.NoJasmineGlobals_ -Enforce consistent brace style for all control statements -See [rule details](https://eslint.org/docs/latest/rules/curly) +Disallow Jasmine globals +See rule details for [jest/no-jasmine-globals](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/no-jasmine-globals.md) #### Data tables: @@ -1041,12 +1075,12 @@ See [rule details](https://eslint.org/docs/latest/rules/curly) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce dot notation whenever possible](../recipes/codemods/cleanup/javascript/dotnotation.md) +### [Require using .only and .skip over f and x](../codemods/cleanup/jest/notestprefixes.md) -_org.openrewrite.codemods.cleanup.javascript.DotNotation_ +_org.openrewrite.codemods.cleanup.jest.NoTestPrefixes_ -Enforce dot notation whenever possible -See [rule details](https://eslint.org/docs/latest/rules/dot-notation) +Require using .only and .skip over f and x +See rule details for [jest/no-test-prefixes](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/no-test-prefixes.md) #### Data tables: @@ -1054,12 +1088,12 @@ See [rule details](https://eslint.org/docs/latest/rules/dot-notation) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require the use of `===` and `!==`](../recipes/codemods/cleanup/javascript/eqeqeq.md) +### [Disallow using jest.mock() factories without an explicit type parameter](../codemods/cleanup/jest/nountypedmockfactory.md) -_org.openrewrite.codemods.cleanup.javascript.Eqeqeq_ +_org.openrewrite.codemods.cleanup.jest.NoUntypedMockFactory_ -Require the use of `===` and `!==` -See [rule details](https://eslint.org/docs/latest/rules/eqeqeq) +Disallow using jest.mock() factories without an explicit type parameter +See rule details for [jest/no-untyped-mock-factory](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/no-untyped-mock-factory.md) #### Data tables: @@ -1067,12 +1101,12 @@ See [rule details](https://eslint.org/docs/latest/rules/eqeqeq) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow logical assignment operator shorthand](../recipes/codemods/cleanup/javascript/logicalassignmentoperators.md) +### [Suggest using the built-in comparison matchers](../codemods/cleanup/jest/prefercomparisonmatcher.md) -_org.openrewrite.codemods.cleanup.javascript.LogicalAssignmentOperators_ +_org.openrewrite.codemods.cleanup.jest.PreferComparisonMatcher_ -Require or disallow logical assignment operator shorthand -See [rule details](https://eslint.org/docs/latest/rules/logical-assignment-operators) +Suggest using the built-in comparison matchers +See rule details for [jest/prefer-comparison-matcher](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-comparison-matcher.md) #### Data tables: @@ -1080,12 +1114,12 @@ See [rule details](https://eslint.org/docs/latest/rules/logical-assignment-opera * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce a particular style for multiline comments](../recipes/codemods/cleanup/javascript/multilinecommentstyle.md) +### [Prefer await expect(...).resolves over expect(await ...) syntax](../codemods/cleanup/jest/preferexpectresolves.md) -_org.openrewrite.codemods.cleanup.javascript.MultilineCommentStyle_ +_org.openrewrite.codemods.cleanup.jest.PreferExpectResolves_ -Enforce a particular style for multiline comments -See [rule details](https://eslint.org/docs/latest/rules/multiline-comment-style) +Prefer await expect(...).resolves over expect(await ...) syntax +See rule details for [jest/prefer-expect-resolves](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-expect-resolves.md) #### Data tables: @@ -1093,12 +1127,12 @@ See [rule details](https://eslint.org/docs/latest/rules/multiline-comment-style) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow equal signs explicitly at the beginning of regular expressions](../recipes/codemods/cleanup/javascript/nodivregex.md) +### [Enforce lowercase test names](../codemods/cleanup/jest/preferlowercasetitle.md) -_org.openrewrite.codemods.cleanup.javascript.NoDivRegex_ +_org.openrewrite.codemods.cleanup.jest.PreferLowercaseTitle_ -Disallow equal signs explicitly at the beginning of regular expressions -See [rule details](https://eslint.org/docs/latest/rules/no-div-regex) +Enforce lowercase test names +See rule details for [jest/prefer-lowercase-title](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-lowercase-title.md) #### Data tables: @@ -1106,12 +1140,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-div-regex) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow else blocks after return statements in if statements](../recipes/codemods/cleanup/javascript/noelsereturn.md) +### [Prefer mock resolved/rejected shorthands for promises](../codemods/cleanup/jest/prefermockpromiseshorthand.md) -_org.openrewrite.codemods.cleanup.javascript.NoElseReturn_ +_org.openrewrite.codemods.cleanup.jest.PreferMockPromiseShorthand_ -Disallow else blocks after return statements in if statements -See [rule details](https://eslint.org/docs/latest/rules/no-else-return) +Prefer mock resolved/rejected shorthands for promises +See rule details for [jest/prefer-mock-promise-shorthand](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-mock-promise-shorthand.md) #### Data tables: @@ -1119,12 +1153,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-else-return) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow unnecessary calls to `.bind()`](../recipes/codemods/cleanup/javascript/noextrabind.md) +### [Suggest using jest.spyOn()](../codemods/cleanup/jest/preferspyon.md) -_org.openrewrite.codemods.cleanup.javascript.NoExtraBind_ +_org.openrewrite.codemods.cleanup.jest.PreferSpyOn_ -Disallow unnecessary calls to `.bind()` -See [rule details](https://eslint.org/docs/latest/rules/no-extra-bind) +Suggest using jest.spyOn() +See rule details for [jest/prefer-spy-on](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-spy-on.md) #### Data tables: @@ -1132,12 +1166,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-extra-bind) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow unnecessary labels](../recipes/codemods/cleanup/javascript/noextralabel.md) +### [Suggest using toBe() for primitive literals](../codemods/cleanup/jest/prefertobe.md) -_org.openrewrite.codemods.cleanup.javascript.NoExtraLabel_ +_org.openrewrite.codemods.cleanup.jest.PreferToBe_ -Disallow unnecessary labels -See [rule details](https://eslint.org/docs/latest/rules/no-extra-label) +Suggest using toBe() for primitive literals +See rule details for [jest/prefer-to-be](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-to-be.md) #### Data tables: @@ -1145,12 +1179,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-extra-label) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow shorthand type conversions](../recipes/codemods/cleanup/javascript/noimplicitcoercion.md) +### [Suggest using toContain()](../codemods/cleanup/jest/prefertocontain.md) -_org.openrewrite.codemods.cleanup.javascript.NoImplicitCoercion_ +_org.openrewrite.codemods.cleanup.jest.PreferToContain_ -Disallow shorthand type conversions -See [rule details](https://eslint.org/docs/latest/rules/no-implicit-coercion) +Suggest using toContain() +See rule details for [jest/prefer-to-contain](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-to-contain.md) #### Data tables: @@ -1158,12 +1192,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-implicit-coercion) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow if statements as the only statement in else blocks](../recipes/codemods/cleanup/javascript/nolonelyif.md) +### [Suggest using toHaveLength()](../codemods/cleanup/jest/prefertohavelength.md) -_org.openrewrite.codemods.cleanup.javascript.NoLonelyIf_ +_org.openrewrite.codemods.cleanup.jest.PreferToHaveLength_ -Disallow if statements as the only statement in else blocks -See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if) +Suggest using toHaveLength() +See rule details for [jest/prefer-to-have-length](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-to-have-length.md) #### Data tables: @@ -1171,12 +1205,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow initializing variables to undefined](../recipes/codemods/cleanup/javascript/noundefinit.md) +### [Suggest using test.todo](../codemods/cleanup/jest/prefertodo.md) -_org.openrewrite.codemods.cleanup.javascript.NoUndefInit_ +_org.openrewrite.codemods.cleanup.jest.PreferTodo_ -Disallow initializing variables to undefined -See [rule details](https://eslint.org/docs/latest/rules/no-undef-init) +Suggest using test.todo +See rule details for [jest/prefer-todo](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/prefer-todo.md) #### Data tables: @@ -1184,12 +1218,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-undef-init) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow ternary operators when simpler alternatives exist](../recipes/codemods/cleanup/javascript/nounneededternary.md) +### [Enforce valid titles](../codemods/cleanup/jest/validtitle.md) -_org.openrewrite.codemods.cleanup.javascript.NoUnneededTernary_ +_org.openrewrite.codemods.cleanup.jest.ValidTitle_ -Disallow ternary operators when simpler alternatives exist -See [rule details](https://eslint.org/docs/latest/rules/no-unneeded-ternary) +Enforce valid titles +See rule details for [jest/valid-title](https://github.com/jest-community/eslint-plugin-jest/blob/HEAD/docs/rules/valid-title.md) #### Data tables: @@ -1197,12 +1231,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-unneeded-ternary) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow unnecessary computed property keys in objects and classes](../recipes/codemods/cleanup/javascript/nouselesscomputedkey.md) +### [Enforce consistent usage of destructuring assignment of props, state, and context](../codemods/cleanup/react/destructuringassignment.md) -_org.openrewrite.codemods.cleanup.javascript.NoUselessComputedKey_ +_org.openrewrite.codemods.cleanup.react.DestructuringAssignment_ -Disallow unnecessary computed property keys in objects and classes -See [rule details](https://eslint.org/docs/latest/rules/no-useless-computed-key) +Enforce consistent usage of destructuring assignment of props, state, and context +See rule details for [react/destructuring-assignment](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/destructuring-assignment.md) #### Data tables: @@ -1210,12 +1244,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-useless-computed-key) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow renaming import, export, and destructured assignments to the same name](../recipes/codemods/cleanup/javascript/nouselessrename.md) +### [Enforce a specific function type for function components](../codemods/cleanup/react/functioncomponentdefinition.md) -_org.openrewrite.codemods.cleanup.javascript.NoUselessRename_ +_org.openrewrite.codemods.cleanup.react.FunctionComponentDefinition_ -Disallow renaming import, export, and destructured assignments to the same name -See [rule details](https://eslint.org/docs/latest/rules/no-useless-rename) +Enforce a specific function type for function components +See rule details for [react/function-component-definition](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/function-component-definition.md) #### Data tables: @@ -1223,12 +1257,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-useless-rename) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow redundant return statements](../recipes/codemods/cleanup/javascript/nouselessreturn.md) +### [Enforce boolean attributes notation in JSX](../codemods/cleanup/react/jsxbooleanvalue.md) -_org.openrewrite.codemods.cleanup.javascript.NoUselessReturn_ +_org.openrewrite.codemods.cleanup.react.JsxBooleanValue_ -Disallow redundant return statements -See [rule details](https://eslint.org/docs/latest/rules/no-useless-return) +Enforce boolean attributes notation in JSX +See rule details for [react/jsx-boolean-value](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-boolean-value.md) #### Data tables: @@ -1236,12 +1270,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-useless-return) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require `let` or `const` instead of `var`](../recipes/codemods/cleanup/javascript/novar.md) +### [Enforce closing bracket location in JSX](../codemods/cleanup/react/jsxclosingbracketlocation.md) -_org.openrewrite.codemods.cleanup.javascript.NoVar_ +_org.openrewrite.codemods.cleanup.react.JsxClosingBracketLocation_ -Require `let` or `const` instead of `var` -See [rule details](https://eslint.org/docs/latest/rules/no-var) +Enforce closing bracket location in JSX +See rule details for [react/jsx-closing-bracket-location](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-closing-bracket-location.md) #### Data tables: @@ -1249,12 +1283,12 @@ See [rule details](https://eslint.org/docs/latest/rules/no-var) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow method and property shorthand syntax for object literals](../recipes/codemods/cleanup/javascript/objectshorthand.md) +### [Enforce closing tag location for multiline JSX](../codemods/cleanup/react/jsxclosingtaglocation.md) -_org.openrewrite.codemods.cleanup.javascript.ObjectShorthand_ +_org.openrewrite.codemods.cleanup.react.JsxClosingTagLocation_ -Require or disallow method and property shorthand syntax for object literals -See [rule details](https://eslint.org/docs/latest/rules/object-shorthand) +Enforce closing tag location for multiline JSX +See rule details for [react/jsx-closing-tag-location](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-closing-tag-location.md) #### Data tables: @@ -1262,12 +1296,12 @@ See [rule details](https://eslint.org/docs/latest/rules/object-shorthand) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce variables to be declared either together or separately in functions](../recipes/codemods/cleanup/javascript/onevar.md) +### [Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes](../codemods/cleanup/react/jsxcurlybracepresence.md) -_org.openrewrite.codemods.cleanup.javascript.OneVar_ +_org.openrewrite.codemods.cleanup.react.JsxCurlyBracePresence_ -Enforce variables to be declared either together or separately in functions -See [rule details](https://eslint.org/docs/latest/rules/one-var) +Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes +See rule details for [react/jsx-curly-brace-presence](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-curly-brace-presence.md) #### Data tables: @@ -1275,12 +1309,12 @@ See [rule details](https://eslint.org/docs/latest/rules/one-var) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow assignment operator shorthand where possible](../recipes/codemods/cleanup/javascript/operatorassignment.md) +### [Enforce consistent linebreaks in curly braces in JSX attributes and expressions](../codemods/cleanup/react/jsxcurlynewline.md) -_org.openrewrite.codemods.cleanup.javascript.OperatorAssignment_ +_org.openrewrite.codemods.cleanup.react.JsxCurlyNewline_ -Require or disallow assignment operator shorthand where possible -See [rule details](https://eslint.org/docs/latest/rules/operator-assignment) +Enforce consistent linebreaks in curly braces in JSX attributes and expressions +See rule details for [react/jsx-curly-newline](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-curly-newline.md) #### Data tables: @@ -1288,12 +1322,12 @@ See [rule details](https://eslint.org/docs/latest/rules/operator-assignment) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require using arrow functions for callbacks](../recipes/codemods/cleanup/javascript/preferarrowcallback.md) +### [Enforce or disallow spaces inside of curly braces in JSX attributes and expressions](../codemods/cleanup/react/jsxcurlyspacing.md) -_org.openrewrite.codemods.cleanup.javascript.PreferArrowCallback_ +_org.openrewrite.codemods.cleanup.react.JsxCurlySpacing_ -Require using arrow functions for callbacks -See [rule details](https://eslint.org/docs/latest/rules/prefer-arrow-callback) +Enforce or disallow spaces inside of curly braces in JSX attributes and expressions +See rule details for [react/jsx-curly-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-curly-spacing.md) #### Data tables: @@ -1301,12 +1335,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-arrow-callback) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require const declarations for variables that are never reassigned after declared](../recipes/codemods/cleanup/javascript/preferconst.md) +### [Enforce or disallow spaces around equal signs in JSX attributes](../codemods/cleanup/react/jsxequalsspacing.md) -_org.openrewrite.codemods.cleanup.javascript.PreferConst_ +_org.openrewrite.codemods.cleanup.react.JsxEqualsSpacing_ -Require const declarations for variables that are never reassigned after declared -See [rule details](https://eslint.org/docs/latest/rules/prefer-const) +Enforce or disallow spaces around equal signs in JSX attributes +See rule details for [react/jsx-equals-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-equals-spacing.md) #### Data tables: @@ -1314,12 +1348,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-const) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require destructuring from arrays and/or objects](../recipes/codemods/cleanup/javascript/preferdestructuring.md) +### [Enforce proper position of the first property in JSX](../codemods/cleanup/react/jsxfirstpropnewline.md) -_org.openrewrite.codemods.cleanup.javascript.PreferDestructuring_ +_org.openrewrite.codemods.cleanup.react.JsxFirstPropNewLine_ -Require destructuring from arrays and/or objects -See [rule details](https://eslint.org/docs/latest/rules/prefer-destructuring) +Enforce proper position of the first property in JSX +See rule details for [react/jsx-first-prop-new-line](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-first-prop-new-line.md) #### Data tables: @@ -1327,12 +1361,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-destructuring) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow the use of `Math.pow` in favor of the ** operator](../recipes/codemods/cleanup/javascript/preferexponentiationoperator.md) +### [Enforce shorthand or standard form for React fragments](../codemods/cleanup/react/jsxfragments.md) -_org.openrewrite.codemods.cleanup.javascript.PreferExponentiationOperator_ +_org.openrewrite.codemods.cleanup.react.JsxFragments_ -Disallow the use of `Math.pow` in favor of the ** operator -See [rule details](https://eslint.org/docs/latest/rules/prefer-exponentiation-operator) +Enforce shorthand or standard form for React fragments +See rule details for [react/jsx-fragments](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-fragments.md) #### Data tables: @@ -1340,12 +1374,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-exponentiation-op * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals](../recipes/codemods/cleanup/javascript/prefernumericliterals.md) +### [Enforce JSX indentation](../codemods/cleanup/react/jsxindent.md) -_org.openrewrite.codemods.cleanup.javascript.PreferNumericLiterals_ +_org.openrewrite.codemods.cleanup.react.JsxIndent_ -Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals -See [rule details](https://eslint.org/docs/latest/rules/prefer-numeric-literals) +Enforce JSX indentation +See rule details for [react/jsx-indent](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-indent.md) #### Data tables: @@ -1353,12 +1387,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-numeric-literals) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn(`)](../recipes/codemods/cleanup/javascript/preferobjecthasown.md) +### [Enforce props indentation in JSX](../codemods/cleanup/react/jsxindentprops.md) -_org.openrewrite.codemods.cleanup.javascript.PreferObjectHasOwn_ +_org.openrewrite.codemods.cleanup.react.JsxIndentProps_ -Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn(`) -See [rule details](https://eslint.org/docs/latest/rules/prefer-object-has-own) +Enforce props indentation in JSX +See rule details for [react/jsx-indent-props](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-indent-props.md) #### Data tables: @@ -1366,12 +1400,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-object-has-own) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead](../recipes/codemods/cleanup/javascript/preferobjectspread.md) +### [Enforce maximum of props on a single line in JSX](../codemods/cleanup/react/jsxmaxpropsperline.md) -_org.openrewrite.codemods.cleanup.javascript.PreferObjectSpread_ +_org.openrewrite.codemods.cleanup.react.JsxMaxPropsPerLine_ -Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead -See [rule details](https://eslint.org/docs/latest/rules/prefer-object-spread) +Enforce maximum of props on a single line in JSX +See rule details for [react/jsx-max-props-per-line](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-max-props-per-line.md) #### Data tables: @@ -1379,12 +1413,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-object-spread) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require template literals instead of string concatenation](../recipes/codemods/cleanup/javascript/prefertemplate.md) +### [Require or prevent a new line after jsx elements and expressions](../codemods/cleanup/react/jsxnewline.md) -_org.openrewrite.codemods.cleanup.javascript.PreferTemplate_ +_org.openrewrite.codemods.cleanup.react.JsxNewline_ -Require template literals instead of string concatenation -See [rule details](https://eslint.org/docs/latest/rules/prefer-template) +Require or prevent a new line after jsx elements and expressions +See rule details for [react/jsx-newline](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-newline.md) #### Data tables: @@ -1392,12 +1426,12 @@ See [rule details](https://eslint.org/docs/latest/rules/prefer-template) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce sorted import declarations within modules](../recipes/codemods/cleanup/javascript/sortimports.md) +### [Disallow problematic leaked values from being rendered](../codemods/cleanup/react/jsxnoleakedrender.md) -_org.openrewrite.codemods.cleanup.javascript.SortImports_ +_org.openrewrite.codemods.cleanup.react.JsxNoLeakedRender_ -Enforce sorted import declarations within modules -See [rule details](https://eslint.org/docs/latest/rules/sort-imports) +Disallow problematic leaked values from being rendered +See rule details for [react/jsx-no-leaked-render](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-leaked-render.md) #### Data tables: @@ -1405,12 +1439,12 @@ See [rule details](https://eslint.org/docs/latest/rules/sort-imports) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require variables within the same declaration block to be sorted](../recipes/codemods/cleanup/javascript/sortvars.md) +### [Disallow target="_blank" attribute without rel="noreferrer"](../codemods/cleanup/react/jsxnotargetblank.md) -_org.openrewrite.codemods.cleanup.javascript.SortVars_ +_org.openrewrite.codemods.cleanup.react.JsxNoTargetBlank_ -Require variables within the same declaration block to be sorted -See [rule details](https://eslint.org/docs/latest/rules/sort-vars) +Disallow target="_blank" attribute without rel="noreferrer" +See rule details for [react/jsx-no-target-blank](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-target-blank.md) #### Data tables: @@ -1418,12 +1452,12 @@ See [rule details](https://eslint.org/docs/latest/rules/sort-vars) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow strict mode directives](../recipes/codemods/cleanup/javascript/strict.md) +### [Disallow unnecessary fragments](../codemods/cleanup/react/jsxnouselessfragment.md) -_org.openrewrite.codemods.cleanup.javascript.Strict_ +_org.openrewrite.codemods.cleanup.react.JsxNoUselessFragment_ -Require or disallow strict mode directives -See [rule details](https://eslint.org/docs/latest/rules/strict) +Disallow unnecessary fragments +See rule details for [react/jsx-no-useless-fragment](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-useless-fragment.md) #### Data tables: @@ -1431,12 +1465,12 @@ See [rule details](https://eslint.org/docs/latest/rules/strict) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow "Yoda" conditions](../recipes/codemods/cleanup/javascript/yoda.md) +### [Require one JSX element per line](../codemods/cleanup/react/jsxoneexpressionperline.md) -_org.openrewrite.codemods.cleanup.javascript.Yoda_ +_org.openrewrite.codemods.cleanup.react.JsxOneExpressionPerLine_ -Require or disallow "Yoda" conditions -See [rule details](https://eslint.org/docs/latest/rules/yoda) +Require one JSX element per line +See rule details for [react/jsx-one-expression-per-line](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-one-expression-per-line.md) #### Data tables: @@ -1444,12 +1478,12 @@ See [rule details](https://eslint.org/docs/latest/rules/yoda) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow Unicode byte order mark (BOM)](../recipes/codemods/cleanup/javascript/unicodebom.md) +### [Disallow multiple spaces between inline JSX props](../codemods/cleanup/react/jsxpropsnomultispaces.md) -_org.openrewrite.codemods.cleanup.javascript.UnicodeBom_ +_org.openrewrite.codemods.cleanup.react.JsxPropsNoMultiSpaces_ -Require or disallow Unicode byte order mark (BOM) -See [rule details](https://eslint.org/docs/latest/rules/unicode-bom) +Disallow multiple spaces between inline JSX props +See rule details for [react/jsx-props-no-multi-spaces](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-props-no-multi-spaces.md) #### Data tables: @@ -1457,11 +1491,12 @@ See [rule details](https://eslint.org/docs/latest/rules/unicode-bom) * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Recommended vue code cleanup](../recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md) +### [Enforce props alphabetical sorting](../codemods/cleanup/react/jsxsortprops.md) -_org.openrewrite.codemods.cleanup.vue.RecommendedVueCodeCleanup_ - -Collection of cleanup ESLint rules from [eslint-plugin-vue](https://eslint.vuejs.org/). +_org.openrewrite.codemods.cleanup.react.JsxSortProps_ + +Enforce props alphabetical sorting +See rule details for [react/jsx-sort-props](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-sort-props.md) #### Data tables: @@ -1469,12 +1504,12 @@ Collection of cleanup ESLint rules from [eslint-plugin-vue](https://eslint.vuejs * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce order of attributes](../recipes/codemods/cleanup/vue/attributesorder.md) +### [Enforce spacing before closing bracket in JSX](../codemods/cleanup/react/jsxspacebeforeclosing.md) -_org.openrewrite.codemods.cleanup.vue.AttributesOrder_ +_org.openrewrite.codemods.cleanup.react.JsxSpaceBeforeClosing_ -Enforce order of attributes -See rule details for [vue/attributes-order](https://eslint.vuejs.org/rules/attributes-order.html) +Enforce spacing before closing bracket in JSX +See rule details for [react/jsx-space-before-closing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-space-before-closing.md) #### Data tables: @@ -1482,12 +1517,12 @@ See rule details for [vue/attributes-order](https://eslint.vuejs.org/rules/attri * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce order of component top-level elements](../recipes/codemods/cleanup/vue/componenttagsorder.md) +### [Enforce whitespace in and around the JSX opening and closing brackets](../codemods/cleanup/react/jsxtagspacing.md) -_org.openrewrite.codemods.cleanup.vue.ComponentTagsOrder_ +_org.openrewrite.codemods.cleanup.react.JsxTagSpacing_ -Enforce order of component top-level elements -See rule details for [vue/component-tags-order](https://eslint.vuejs.org/rules/component-tags-order.html) +Enforce whitespace in and around the JSX opening and closing brackets +See rule details for [react/jsx-tag-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-tag-spacing.md) #### Data tables: @@ -1495,12 +1530,12 @@ See rule details for [vue/component-tags-order](https://eslint.vuejs.org/rules/c * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce order of properties in components](../recipes/codemods/cleanup/vue/orderincomponents.md) +### [Disallow missing parentheses around multiline JSX](../codemods/cleanup/react/jsxwrapmultilines.md) -_org.openrewrite.codemods.cleanup.vue.OrderInComponents_ +_org.openrewrite.codemods.cleanup.react.JsxWrapMultilines_ -Enforce order of properties in components -See rule details for [vue/order-in-components](https://eslint.vuejs.org/rules/order-in-components.html) +Disallow missing parentheses around multiline JSX +See rule details for [react/jsx-wrap-multilines](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-wrap-multilines.md) #### Data tables: @@ -1508,12 +1543,12 @@ See rule details for [vue/order-in-components](https://eslint.vuejs.org/rules/or * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow usage of this in template](../recipes/codemods/cleanup/vue/thisintemplate.md) +### [Lifecycle methods should be methods on the prototype, not class fields](../codemods/cleanup/react/noarrowfunctionlifecycle.md) -_org.openrewrite.codemods.cleanup.vue.ThisInTemplate_ +_org.openrewrite.codemods.cleanup.react.NoArrowFunctionLifecycle_ -Disallow usage of this in template -See rule details for [vue/this-in-template](https://eslint.vuejs.org/rules/this-in-template.html) +Lifecycle methods should be methods on the prototype, not class fields +See rule details for [react/no-arrow-function-lifecycle](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-arrow-function-lifecycle.md) #### Data tables: @@ -1521,12 +1556,12 @@ See rule details for [vue/this-in-template](https://eslint.vuejs.org/rules/this- * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce order of component top-level elements](../recipes/codemods/cleanup/vue/blockorder.md) +### [Disallow usage of unknown DOM property](../codemods/cleanup/react/nounknownproperty.md) -_org.openrewrite.codemods.cleanup.vue.BlockOrder_ +_org.openrewrite.codemods.cleanup.react.NoUnknownProperty_ -Enforce order of component top-level elements -See rule details for [vue/block-order](https://eslint.vuejs.org/rules/block-order.html) +Disallow usage of unknown DOM property +See rule details for [react/no-unknown-property](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unknown-property.md) #### Data tables: @@ -1534,12 +1569,12 @@ See rule details for [vue/block-order](https://eslint.vuejs.org/rules/block-orde * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce line breaks after opening and before closing block-level tags](../recipes/codemods/cleanup/vue/blocktagnewline.md) +### [Enforce that props are read-only](../codemods/cleanup/react/preferreadonlyprops.md) -_org.openrewrite.codemods.cleanup.vue.BlockTagNewline_ +_org.openrewrite.codemods.cleanup.react.PreferReadOnlyProps_ -Enforce line breaks after opening and before closing block-level tags -See rule details for [vue/block-tag-newline](https://eslint.vuejs.org/rules/block-tag-newline.html) +Enforce that props are read-only +See rule details for [react/prefer-read-only-props](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/prefer-read-only-props.md) #### Data tables: @@ -1547,12 +1582,12 @@ See rule details for [vue/block-tag-newline](https://eslint.vuejs.org/rules/bloc * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce specific casing for the component naming style in template](../recipes/codemods/cleanup/vue/componentnameintemplatecasing.md) +### [Disallow extra closing tags for components without children](../codemods/cleanup/react/selfclosingcomp.md) -_org.openrewrite.codemods.cleanup.vue.ComponentNameInTemplateCasing_ +_org.openrewrite.codemods.cleanup.react.SelfClosingComp_ -Enforce specific casing for the component naming style in template -See rule details for [vue/component-name-in-template-casing](https://eslint.vuejs.org/rules/component-name-in-template-casing.html) +Disallow extra closing tags for components without children +See rule details for [react/self-closing-comp](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/self-closing-comp.md) #### Data tables: @@ -1560,12 +1595,12 @@ See rule details for [vue/component-name-in-template-casing](https://eslint.vuej * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce the casing of component name in components options](../recipes/codemods/cleanup/vue/componentoptionsnamecasing.md) +### [Enforce propTypes declarations alphabetical sorting](../codemods/cleanup/react/sortproptypes.md) -_org.openrewrite.codemods.cleanup.vue.ComponentOptionsNameCasing_ +_org.openrewrite.codemods.cleanup.react.SortPropTypes_ -Enforce the casing of component name in components options -See rule details for [vue/component-options-name-casing](https://eslint.vuejs.org/rules/component-options-name-casing.html) +Enforce propTypes declarations alphabetical sorting +See rule details for [react/sort-prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/sort-prop-types.md) #### Data tables: @@ -1573,12 +1608,11 @@ See rule details for [vue/component-options-name-casing](https://eslint.vuejs.or * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce order of defineEmits and defineProps compiler macros](../recipes/codemods/cleanup/vue/definemacrosorder.md) +### [Recommended svelte code cleanup](../codemods/cleanup/svelte/recommendedsveltecodecleanup.md) -_org.openrewrite.codemods.cleanup.vue.DefineMacrosOrder_ +_org.openrewrite.codemods.cleanup.svelte.RecommendedsvelteCodeCleanup_ -Enforce order of defineEmits and defineProps compiler macros -See rule details for [vue/define-macros-order](https://eslint.vuejs.org/rules/define-macros-order.html) +Collection of cleanup ESLint rules from [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte). #### Data tables: @@ -1586,12 +1620,12 @@ See rule details for [vue/define-macros-order](https://eslint.vuejs.org/rules/de * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce unified line brake in HTML comments](../recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md) +### [disallow dynamic slot name](../codemods/cleanup/svelte/nodynamicslotname.md) -_org.openrewrite.codemods.cleanup.vue.HtmlCommentContentNewline_ +_org.openrewrite.codemods.cleanup.svelte.NoDynamicSlotName_ -Enforce unified line brake in HTML comments -See rule details for [vue/html-comment-content-newline](https://eslint.vuejs.org/rules/html-comment-content-newline.html) +disallow dynamic slot name +See rule details for [svelte/no-dynamic-slot-name](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/) #### Data tables: @@ -1599,12 +1633,12 @@ See rule details for [vue/html-comment-content-newline](https://eslint.vuejs.org * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce unified spacing in HTML comments](../recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md) +### [disallow to use of the store itself as an operand. Need to use $ prefix or get function.](../codemods/cleanup/svelte/requirestorereactiveaccess.md) -_org.openrewrite.codemods.cleanup.vue.HtmlCommentContentSpacing_ +_org.openrewrite.codemods.cleanup.svelte.RequireStoreReactiveAccess_ -Enforce unified spacing in HTML comments -See rule details for [vue/html-comment-content-spacing](https://eslint.vuejs.org/rules/html-comment-content-spacing.html) +disallow to use of the store itself as an operand. Need to use $ prefix or get function. +See rule details for [svelte/require-store-reactive-access](https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-reactive-access/) #### Data tables: @@ -1612,12 +1646,12 @@ See rule details for [vue/html-comment-content-spacing](https://eslint.vuejs.org * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce consistent indentation in HTML comments](../recipes/codemods/cleanup/vue/htmlcommentindent.md) +### [disallow unnecessary mustache interpolations](../codemods/cleanup/svelte/nouselessmustaches.md) -_org.openrewrite.codemods.cleanup.vue.HtmlCommentIndent_ +_org.openrewrite.codemods.cleanup.svelte.NoUselessMustaches_ -Enforce consistent indentation in HTML comments -See rule details for [vue/html-comment-indent](https://eslint.vuejs.org/rules/html-comment-indent.html) +disallow unnecessary mustache interpolations +See rule details for [svelte/no-useless-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/) #### Data tables: @@ -1625,12 +1659,12 @@ See rule details for [vue/html-comment-indent](https://eslint.vuejs.org/rules/ht * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce new lines between multi-line properties in Vue components](../recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md) +### [enforce the location of first attribute](../codemods/cleanup/svelte/firstattributelinebreak.md) -_org.openrewrite.codemods.cleanup.vue.NewLineBetweenMultiLineProperty_ +_org.openrewrite.codemods.cleanup.svelte.FirstAttributeLinebreak_ -Enforce new lines between multi-line properties in Vue components -See rule details for [vue/new-line-between-multi-line-property](https://eslint.vuejs.org/rules/new-line-between-multi-line-property.html) +enforce the location of first attribute +See rule details for [svelte/first-attribute-linebreak](https://sveltejs.github.io/eslint-plugin-svelte/rules/first-attribute-linebreak/) #### Data tables: @@ -1638,12 +1672,12 @@ See rule details for [vue/new-line-between-multi-line-property](https://eslint.v * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce Promise or callback style in nextTick](../recipes/codemods/cleanup/vue/nexttickstyle.md) +### [require or disallow a space before tag's closing brackets](../codemods/cleanup/svelte/htmlclosingbracketspacing.md) -_org.openrewrite.codemods.cleanup.vue.NextTickStyle_ +_org.openrewrite.codemods.cleanup.svelte.HtmlClosingBracketSpacing_ -Enforce Promise or callback style in nextTick -See rule details for [vue/next-tick-style](https://eslint.vuejs.org/rules/next-tick-style.html) +require or disallow a space before tag's closing brackets +See rule details for [svelte/html-closing-bracket-spacing](https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-spacing/) #### Data tables: @@ -1651,12 +1685,12 @@ See rule details for [vue/next-tick-style](https://eslint.vuejs.org/rules/next-t * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce props with default values to be optional](../recipes/codemods/cleanup/vue/norequiredpropwithdefault.md) +### [enforce quotes style of HTML attributes](../codemods/cleanup/svelte/htmlquotes.md) -_org.openrewrite.codemods.cleanup.vue.NoRequiredPropWithDefault_ +_org.openrewrite.codemods.cleanup.svelte.HtmlQuotes_ -Enforce props with default values to be optional -See rule details for [vue/no-required-prop-with-default](https://eslint.vuejs.org/rules/no-required-prop-with-default.html) +enforce quotes style of HTML attributes +See rule details for [svelte/html-quotes](https://sveltejs.github.io/eslint-plugin-svelte/rules/html-quotes/) #### Data tables: @@ -1664,12 +1698,12 @@ See rule details for [vue/no-required-prop-with-default](https://eslint.vuejs.or * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow unsupported Vue.js syntax on the specified version](../recipes/codemods/cleanup/vue/nounsupportedfeatures.md) +### [enforce self-closing style](../codemods/cleanup/svelte/htmlselfclosing.md) -_org.openrewrite.codemods.cleanup.vue.NoUnsupportedFeatures_ +_org.openrewrite.codemods.cleanup.svelte.HtmlSelfClosing_ -Disallow unsupported Vue.js syntax on the specified version -See rule details for [vue/no-unsupported-features](https://eslint.vuejs.org/rules/no-unsupported-features.html) +enforce self-closing style +See rule details for [svelte/html-self-closing](https://sveltejs.github.io/eslint-plugin-svelte/rules/html-self-closing/) #### Data tables: @@ -1677,12 +1711,12 @@ See rule details for [vue/no-unsupported-features](https://eslint.vuejs.org/rule * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow unnecessary mustache interpolations](../recipes/codemods/cleanup/vue/nouselessmustaches.md) +### [enforce consistent indentation](../codemods/cleanup/svelte/indent.md) -_org.openrewrite.codemods.cleanup.vue.NoUselessMustaches_ +_org.openrewrite.codemods.cleanup.svelte.Indent_ -Disallow unnecessary mustache interpolations -See rule details for [vue/no-useless-mustaches](https://eslint.vuejs.org/rules/no-useless-mustaches.html) +enforce consistent indentation +See rule details for [svelte/indent](https://sveltejs.github.io/eslint-plugin-svelte/rules/indent/) #### Data tables: @@ -1690,12 +1724,12 @@ See rule details for [vue/no-useless-mustaches](https://eslint.vuejs.org/rules/n * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow unnecessary v-bind directives](../recipes/codemods/cleanup/vue/nouselessvbind.md) +### [enforce the maximum number of attributes per line](../codemods/cleanup/svelte/maxattributesperline.md) -_org.openrewrite.codemods.cleanup.vue.NoUselessVBind_ +_org.openrewrite.codemods.cleanup.svelte.MaxAttributesPerLine_ -Disallow unnecessary v-bind directives -See rule details for [vue/no-useless-v-bind](https://eslint.vuejs.org/rules/no-useless-v-bind.html) +enforce the maximum number of attributes per line +See rule details for [svelte/max-attributes-per-line](https://sveltejs.github.io/eslint-plugin-svelte/rules/max-attributes-per-line/) #### Data tables: @@ -1703,12 +1737,12 @@ See rule details for [vue/no-useless-v-bind](https://eslint.vuejs.org/rules/no-u * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow padding lines between blocks](../recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md) +### [enforce unified spacing in mustache](../codemods/cleanup/svelte/mustachespacing.md) -_org.openrewrite.codemods.cleanup.vue.PaddingLineBetweenBlocks_ +_org.openrewrite.codemods.cleanup.svelte.MustacheSpacing_ -Require or disallow padding lines between blocks -See rule details for [vue/padding-line-between-blocks](https://eslint.vuejs.org/rules/padding-line-between-blocks.html) +enforce unified spacing in mustache +See rule details for [svelte/mustache-spacing](https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/) #### Data tables: @@ -1716,12 +1750,12 @@ See rule details for [vue/padding-line-between-blocks](https://eslint.vuejs.org/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow newlines between sibling tags in template](../recipes/codemods/cleanup/vue/paddinglinebetweentags.md) +### [disallow spaces around equal signs in attribute](../codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md) -_org.openrewrite.codemods.cleanup.vue.PaddingLineBetweenTags_ +_org.openrewrite.codemods.cleanup.svelte.NoSpacesAroundEqualSignsInAttribute_ -Require or disallow newlines between sibling tags in template -See rule details for [vue/padding-line-between-tags](https://eslint.vuejs.org/rules/padding-line-between-tags.html) +disallow spaces around equal signs in attribute +See rule details for [svelte/no-spaces-around-equal-signs-in-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-spaces-around-equal-signs-in-attribute/) #### Data tables: @@ -1729,12 +1763,12 @@ See rule details for [vue/padding-line-between-tags](https://eslint.vuejs.org/ru * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require or disallow padding lines in component definition](../recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md) +### [require class directives instead of ternary expressions](../codemods/cleanup/svelte/preferclassdirective.md) -_org.openrewrite.codemods.cleanup.vue.PaddingLinesInComponentDefinition_ +_org.openrewrite.codemods.cleanup.svelte.PreferClassDirective_ -Require or disallow padding lines in component definition -See rule details for [vue/padding-lines-in-component-definition](https://eslint.vuejs.org/rules/padding-lines-in-component-definition.html) +require class directives instead of ternary expressions +See rule details for [svelte/prefer-class-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-class-directive/) #### Data tables: @@ -1742,12 +1776,12 @@ See rule details for [vue/padding-lines-in-component-definition](https://eslint. * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce use of defineOptions instead of default export.](../recipes/codemods/cleanup/vue/preferdefineoptions.md) +### [require style directives instead of style attribute](../codemods/cleanup/svelte/preferstyledirective.md) -_org.openrewrite.codemods.cleanup.vue.PreferDefineOptions_ +_org.openrewrite.codemods.cleanup.svelte.PreferStyleDirective_ -Enforce use of defineOptions instead of default export. -See rule details for [vue/prefer-define-options](https://eslint.vuejs.org/rules/prefer-define-options.html) +require style directives instead of style attribute +See rule details for [svelte/prefer-style-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-style-directive/) #### Data tables: @@ -1755,12 +1789,12 @@ See rule details for [vue/prefer-define-options](https://eslint.vuejs.org/rules/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require static class names in template to be in a separate class attribute](../recipes/codemods/cleanup/vue/preferseparatestaticclass.md) +### [enforce use of shorthand syntax in attribute](../codemods/cleanup/svelte/shorthandattribute.md) -_org.openrewrite.codemods.cleanup.vue.PreferSeparateStaticClass_ +_org.openrewrite.codemods.cleanup.svelte.ShorthandAttribute_ -Require static class names in template to be in a separate class attribute -See rule details for [vue/prefer-separate-static-class](https://eslint.vuejs.org/rules/prefer-separate-static-class.html) +enforce use of shorthand syntax in attribute +See rule details for [svelte/shorthand-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/shorthand-attribute/) #### Data tables: @@ -1768,12 +1802,12 @@ See rule details for [vue/prefer-separate-static-class](https://eslint.vuejs.org * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce consistent indentation in `